using System;

namespace GURUCORE.GForm.Core.Common
{



	public sealed class Sys_ParamTable
	{
		public const string TABLE_NAME = "Sys_Param";
		public const string PARAMID_FLD = "ParamID";
		public const string NAME_FLD = "Name";
		public const string VALUE_FLD = "Value";
	}
	public sealed class Sys_PeriodTable
	{
		public const string TABLE_NAME = "Sys_Period";
		public const string PERIODID_FLD = "PeriodID";
		public const string FROMDATE_FLD = "FromDate";
		public const string TODATE_FLD = "ToDate";
		public const string ACTIVATE_FLD = "Activate";
	}


	public sealed class sys_TableAndGroupTable
	{
		public const string TABLE_NAME = "sys_TableAndGroup";
		public const string TABLEAndGROUPID_FLD = "TableAndGroupID";
		public const string TABLEGROUPID_FLD = "TableGroupID";
		public const string TABLEID_FLD = "TableID";
		public const string TABLEORDER_FLD = "TableOrder";
	}


	public sealed class sys_TableGroupTable
	{
		
		public const string TABLE_NAME = "sys_TableGroup";
		public const string TABLEGROUPID_FLD = "TableGroupID";
		public const string CODE_FLD = "Code";
		public const string TABLEGROUPNAME_FLD = "TableGroupName";
		public const string GROUPORDER_FLD = "GroupOrder";
	}
	
	public sealed class IV_CoutingMethodTable
	{
		public const string TABLE_NAME = "IV_CoutingMethod";
		public const string COUNTINGMETHODID_FLD = "CountingMethodID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class sys_TableTable
	{
		
		public const string TABLE_NAME = "sys_TABLE";
		public const string TABLEID_FLD = "TableID";
		public const string CODE_FLD = "Code";
		public const string TABLENAME_FLD = "TableName";
		public const string TABLEORVIEW_FLD = "TableOrView";
		public const string HEIGHT_FLD = "Height";
		public const string ISVIEWONLY_FLD = "IsViewOnly";
	}

	//	public sealed class sys_TableFieldTable
	//	{
	//		
	//		public const string TABLE_NAME = "sys_TableField";
	//		public const string TABLEFIELDID_FLD = "TableFieldID";
	//
	//		public const string TABLEID_FLD = "TableID";
	//		public const string FIELDNAME_FLD = "FieldName";
	//		public const string CAPTION_FLD = "Caption";
	//		public const string CAPTIONVN_FLD = "CaptionVN";
	//		public const string CAPTIONEN_FLD = "CaptionEN";
	//		public const string CAPTIONJP_FLD = "CaptionJP";
	//		public const string INVISIBLE_FLD = "Invisible";
	//		public const string CHARACTERCASE_FLD = "CharacterCase";
	//		public const string ALIGN_FLD = "Align";
	//		public const string WIDTH_FLD = "Width";
	//		public const string SORTTYPE_FLD = "SortType";
	//		public const string FORMATS_FLD = "Formats";
	//		public const string READONLY_FLD = "ReadOnly";
	//		public const string NOTALLOWNULL_FLD = "NotAllowNull";
	//		public const string IDENTITYCOLUMN_FLD = "IdentityColumn";
	//		public const string UNIQUECOLUMN_FLD = "UniqueColumn";
	//		public const string ITEMS_FLD = "Items";
	//		public const string FROMTABLE_FLD = "FromTable";
	//		public const string FROMFIELD_FLD = "FromField";
	//		public const string FILTERFIELD1_FLD = "FilterField1";
	//		public const string FILTERFIELD2_FLD = "FilterField2";
	//		public const string FIELDORDER_FLD = "FieldOrder";		
	//	}


	public sealed class sys_TableFieldTable
	{
		public const string TABLE_NAME = "Sys_TableField";
		public const string TABLEFIELDID_FLD = "TableFieldID";
		public const string FIELDNAME_FLD = "FieldName";
		public const string CAPTION_FLD = "Caption";
		public const string CAPTIONEN_FLD = "CaptionEN";
		public const string INVISIBLE_FLD = "Invisible";
		public const string CAPTIONJP_FLD = "CaptionJP";
		public const string CAPTIONVN_FLD = "CaptionVN";
		public const string CHARACTERCASE_FLD = "CharacterCase";
		public const string ALIGN_FLD = "Align";
		public const string WIDTH_FLD = "Width";
		public const string SORTTYPE_FLD = "SortType";
		public const string FORMATS_FLD = "Formats";
		public const string READONLY_FLD = "ReadOnly";
		public const string NOTALLOWNULL_FLD = "NotAllowNull";
		public const string IDENTITYCOLUMN_FLD = "IdentityColumn";
		public const string UNIQUECOLUMN_FLD = "UniqueColumn";
		public const string ITEMS_FLD = "Items";
		public const string FROMTABLE_FLD = "FromTable";
		public const string FROMFIELD_FLD = "FromField";
		public const string FILTERFIELD1_FLD = "FilterField1";
		public const string FILTERFIELD2_FLD = "FilterField2";
		public const string FIELDORDER_FLD = "FieldOrder";
		public const string TABLEID_FLD = "TableID";
		public const string FILTERFIELD3_FLD = "FilterField3";
		public const string ALIGNFIELD1_FLD = "AlignField1";
		public const string WIDTHFIELD1_FLD = "WidthField1";
		public const string FORMATFIELD1_FLD = "FormatField1";
		public const string ALIGNFIELD2_FLD = "AlignField2";
		public const string WIDTHFIELD2_FLD = "WidthField2";
		public const string FORMATFIELD2_FLD = "FormatField2";
		public const string ALIGNFIELD3_FLD = "AlignField3";
		public const string WIDTHFIELD3_FLD = "WidthField3";
		public const string FORMATFIELD3_FLD = "FormatField3";
		public const string FIELD1CAPTIONVN_FLD = "Field1CaptionVN";
		public const string FIELD1CAPTIONEN_FLD = "Field1CaptionEN";
		public const string FIELD1CAPTIONJP_FLD = "Field1CaptionJP";
		public const string FIELD2CAPTIONVN_FLD = "Field2CaptionVN";
		public const string FIELD2CAPTIONEN_FLD = "Field2CaptionEN";
		public const string FIELD2CAPTIONJP_FLD = "Field2CaptionJP";
		public const string FIELD3CAPTIONVN_FLD = "Field3CaptionVN";
		public const string FIELD3CAPTIONEN_FLD = "Field3CaptionEN";
		public const string FIELD3CAPTIONJP_FLD = "Field3CaptionJP";
	}

	public sealed class SchemaTableTable
	{
		
		public const string TABLE_NAME = "INFORMATION_SCHEMA.TABLES";
		public const string TABLENAME_FLD = "TABLE_NAME";
		public const string TABLETYPE_FLD = "TABLE_TYPE";
	}

	public sealed class SchemaColumnTable
	{           
		public const string TABLE_NAME = "INFORMATION_SCHEMA.COLUMNS";
		public const string TABLE_NAME_FLD = "TABLE_NAME";
		public const string COLUMN_NAME_FLD = "COLUMN_NAME";
		public const string ORDINAL_POSITION_FLD = "ORDINAL_POSITION";
	}

	public sealed class Sys_Menu_EntryTable
	{
		public const string TABLE_NAME = "Sys_Menu_Entry";
		public const string PARENT_SHORTCUT_FLD = "Parent_Shortcut";
		public const string MENU_ENTRYID_FLD = "Menu_EntryID";
		public const string SHORTCUT_FLD = "Shortcut";
		public const string BUTTON_CAPTION_FLD = "Button_Caption";
		public const string TEXT_CAPTIONDEFAULT_FLD = "Text_CaptionDefault";
		public const string TEXT_CAPTION_VI_VN_FLD = "Text_Caption_VI_VN";
		public const string TEXT_CAPTION_EN_US_FLD = "Text_Caption_EN_US";
		public const string TEXT_CAPTION_JA_JP_FLD = "Text_Caption_JA_JP";
		public const string TEXT_CAPTION_LANGUAGE_DEFAULT_FLD = "Text_Caption_Language_Default";
		public const string PARENT_CHILD_FLD = "Parent_Child";
		public const string FORMLOAD_FLD = "FormLoad";
		public const string DESCRIPTION_FLD = "Description";
		public const string TYPE_FLD = "Type";
		public const string COLLAPSEDIMAGE_FLD = "CollapsedImage";
		public const string EXPANDEDIMAGE_FLD = "ExpandedImage";
		public const string PREFIX_FLD = "Prefix";
		public const string TRANSFORMAT_FLD = "TransFormat";
		public const string ISTRANSACTION_FLD = "IsTransaction";
		public const string ISUSERCREATED_FLD = "IsUserCreated";
		public const string TABLENAME_FLD = "TableName";
		public const string TRANSNOFIELDNAME_FLD = "TransNoFieldName";
		public const string REPORTID_FLD = "ReportID";
	}



	public sealed class Sys_Error_MsgTable
	{
		public const string TABLE_NAME = "Sys_Error_Msg";
		public const string ERROR_MSGID_FLD = "Error_MsgID";
		public const string CODE_FLD = "Code";
		public const string MSGDEFAULT_FLD = "MsgDefault";
		public const string MSGVN_FLD = "MsgVn";
		public const string MSGEN_FLD = "MsgEn";
		public const string MSGJP_FLD = "MsgJp";
		public const string DESCRIPTION_FLD = "Description";

	}


	public sealed class Sys_Report_RoleTable
	{
		public const string TABLE_NAME = "Sys_Report_Role";
		public const string REPORT_ROLEID_FLD = "Report_RoleID";
		public const string REPORTID_FLD = "ReportID";
		public const string ROLEID_FLD = "RoleID";
	}


	public sealed class Sys_HiddenControlsTable
	{
		public const string TABLE_NAME = "Sys_HiddenControls";
		public const string HIDDENCONTROLSID_FLD = "HiddenControlsID";
		public const string FORMNAME_FLD = "FormName";
		public const string CONTROLNAME_FLD = "ControlName";
		public const string SUBCONTROLNAME_FLD = "SubControlName";
	}
	public sealed class Sys_HiddenControls_RoleTable
	{
		public const string TABLE_NAME = "Sys_HiddenControls_Role";
		public const string HIDDENCONTROLS_ROLEID_FLD = "HiddenControls_RoleID";
		public const string HIDDENCONTROLSID_FLD = "HiddenControlsID";
		public const string ROLEID_FLD = "RoleID";
	}


	public sealed class sys_ReportTable
	{
		public const string TABLE_NAME = "sys_Report";
		public const string REPORTID_FLD = "ReportID";
		public const string REPORTNAME_FLD = "ReportName";
		public const string DESCRIPTION_FLD = "Description";
		public const string ISOCODE_FLD = "ISOCode";
		public const string REPORTFILE_FLD = "ReportFile";
		public const string REPORTTYPE_FLD = "ReportType";
		public const string COMMAND_FLD = "Command";
		public const string MARGINTOP_FLD = "MarginTop";
		public const string MARGINLEFT_FLD = "MarginLeft";
		public const string MARGINRIGHT_FLD = "MarginRight";
		public const string MARGINBOTTOM_FLD = "MarginBottom";
		public const string MARGINGUTTER_FLD = "MarginGutter";
		public const string MARGINGUTTERPOS_FLD = "MarginGutterPos";
		public const string ORIENTATION_FLD = "Orientation";
		public const string PAPERSIZE_FLD = "PaperSize";
		public const string TABLEBORDER_FLD = "TableBorder";
		public const string SIGNATURES_FLD = "Signatures";
		public const string FONTREPORTHEADER_FLD = "FontReportHeader";
		public const string FONTPARAMETER_FLD = "FontParameter";
		public const string FONTPAGEHEADER_FLD = "FontPageHeader";
		public const string FONTGROUPBY_FLD = "FontGroupBy";
		public const string FONTDETAIL_FLD = "FontDetail";
		public const string FONTPAGEFOOTER_FLD = "FontPageFooter";
		public const string FONTREPORTFOOTER_FLD = "FontReportFooter";
		public const string USETEMPLATE_FLD = "UseTemplate";
		public const string TEMPLATEFILE_FLD = "TemplateFile";
	}

	
	public sealed class sys_ReportAndGroupTable
	{
		public const string TABLE_NAME = "sys_ReportAndGroup";
		public const string GROUPID_FLD = "GroupID";
		public const string REPORTID_FLD = "ReportID";
		public const string REPORTORDER_FLD = "ReportOrder";
		public const string REPORTANDGROUPID_FLD = "ReportAndGroupID";
	}
	public sealed class sys_ReportDrillDownTable
	{
		public const string TABLE_NAME = "sys_ReportDrillDown";
		public const string MASTERREPORTID_FLD = "MasterReportID";
		public const string DETAILREPORTID_FLD = "DetailReportID";
		public const string MASTERPARA_FLD = "MasterPara";
		public const string DETAILPARA_FLD = "DetailPara";
		public const string FROMCOLUMN_FLD = "FromColumn";
		public const string PARAORDER_FLD = "ParaOrder";
	}
	public sealed class sys_ReportFieldsTable
	{
		public const string TABLE_NAME = "sys_ReportFields";
		public const string REPORTID_FLD = "ReportID";
		public const string FIELDORDER_FLD = "FieldOrder";
		public const string FIELDNAME_FLD = "FieldName";
		public const string FIELDCAPTION_FLD = "FieldCaption";
		public const string FIELDCAPTIONEN_FLD = "FieldCaptionEN";
		public const string FIELDCAPTIONVN_FLD = "FieldCaptionVN";
		public const string FIELDCAPTIONJP_FLD = "FieldCaptionJP";
		public const string FONT_FLD = "Font";
		public const string VISISBLE_FLD = "Visisble";
		public const string TYPE_FLD = "Type";
		public const string PRINTPREVIEW_FLD = "PrintPreview";
		public const string PRINTREASON_FLD = "PrintReason";
		public const string WIDTH_FLD = "Width";
		public const string FORMAT_FLD = "ReportFormat";
		public const string SORT_FLD = "Sort";
		public const string GROUPBY_FLD = "GroupBy";
		public const string BOTTOMGROUP_FLD = "BottomGroup";
		public const string SUMTOPPAGE_FLD = "SumTopPage";
		public const string SUMBOTTOMPAGE_FLD = "SumBottomPage";
		public const string SUMTOPREPORT_FLD = "SumTopReport";
		public const string SUMBOTTOMREPORT_FLD = "SumBottomReport";
		public const string DATATYPE_FLD = "DataType";
		public const string ALIGN_FLD = "Align";
	}
	public sealed class sys_ReportGroupTable
	{
		public const string TABLE_NAME = "sys_ReportGroup";
		public const string GROUPID_FLD = "GroupID";
		public const string GROUPNAME_FLD = "GroupName";
		public const string GROUPORDER_FLD = "GroupOrder";
	}
	
	public sealed class Sys_PrintConfigurationTable
	{
		public const string TABLE_NAME = "Sys_PrintConfiguration";
		public const string PRINTCONFIGURATIONID_FLD = "PrintConfigurationID";
		public const string FORMNAME_FLD = "FormName";
		public const string FILENAME_FLD = "FileName";
		public const string COPIES_FLD = "Copies";
		public const string DESCRIPTION_FLD = "Description";
		public const string PRINTABLE_FLD = "Printable";
		public const string FUNCTIONNAME_FLD = "FunctionName";
		public const string REPORTNAME_FLD = "ReportName";
	}

	public sealed class Sys_FieldGroupTable
	{
		public const string TABLE_NAME = "Sys_FieldGroup";
		public const string FIELDGROUPID_FLD = "FieldGroupID";
		public const string GROUPCODE_FLD = "GroupCode";
		public const string GROUPORDER_FLD = "GroupOrder";
		public const string GROUPLEVEL_FLD = "GroupLevel";
		public const string GROUPNAMEVN_FLD = "GroupNameVN";
		public const string GROUPNAMEEN_FLD = "GroupNameEN";
		public const string GROUPNAMEJP_FLD = "GroupNameJP";
		public const string REPORTID_FLD = "ReportID";
		public const string PARENTFIELDGROUPID_FLD = "ParentFieldGroupID";
	}
	
	public sealed class Sys_FieldGroupDetailTable
	{
		public const string TABLE_NAME = "Sys_FieldGroupDetail";
		public const string FIELDGROUPDETAILID_FLD = "FieldGroupDetailID";
		public const string FIELDGROUPID_FLD = "FieldGroupID";
		public const string REPORTID_FLD = "ReportID";
		public const string FIELDNAME_FLD = "FieldName";
	}

	public sealed class sys_ReportHistoryTable
	{
		public const string TABLE_NAME = "sys_ReportHistory";
		public const string HISTORYID_FLD = "HistoryID";
		public const string USERID_FLD = "UserName";
		public const string EXECDATETIME_FLD = "ExecDateTime";
		public const string REPORTID_FLD = "ReportID";
		public const string TABLENAME_FLD = "TableName";
	}
	public sealed class sys_ReportHistoryParaTable
	{
		public const string TABLE_NAME = "sys_ReportHistoryPara";
		public const string HISTORYID_FLD = "HistoryID";
		public const string PARANAME_FLD = "ParaName";
		public const string PARAVALUE_FLD = "ParaValue";
		public const string TAGVALUE_FLD = "TagValue";
		public const string FILTERFIELD1VALUE_FLD = "FilterField1Value";
		public const string FILTERFIELD2VALUE_FLD = "FilterField2Value";
	}
	public sealed class sys_ReportParaTable
	{
		public const string TABLE_NAME = "sys_ReportPara";
		public const string REPORTID_FLD = "ReportID";
		public const string PARAORDER_FLD = "ParaOrder";
		public const string PARANAME_FLD = "ParaName";
		public const string PARACAPTION_FLD = "ParaCaption";
		public const string DATATYPE_FLD = "DataType";
		public const string WIDTH_FLD = "Width";
		public const string OPTIONAL_FLD = "Optional";
		public const string TAGVALUE_FLD = "TagValue";
		public const string SAMEROW_FLD = "SameRow";
		public const string DEFAULTVALUE_FLD = "DefaultValue";
		public const string ITEMS_FLD = "Items";
		public const string FROMTABLE_FLD = "FromTable";
		public const string FROMFIELD_FLD = "FromField";
		public const string FILTERFIELD1_FLD = "FilterField1";
		public const string FILTERFIELD1WIDTH_FLD = "FilterField1Width";
		public const string FILTERFIELD2_FLD = "FilterField2";
		public const string FILTERFIELD2WIDTH_FLD = "FilterField2Width";
		public const string SQLCLAUSE_FLD = "SQLCLause";
		public const string WHERECLAUSE_FLD = "WhereClause";
		public const string MULTISELECTION_FLD = "MultiSelection";
	}

	//Admin system
	public sealed class Sys_ProtectObjTable
	{
		public const string TABLE_NAME = "Sys_ProtectObj";
		public const string OBJ_ID_FLD = "obj_id";
		public const string OBJPARENT_FLD = "objParent";
		public const string OBJNAME_FLD = "objName";
		public const string OBJTYPE_FLD = "objType";
		public const string DESCRIPTION_FLD = "Description";
		public const string ORDERNO_FLD = "OrderNo";
		public const string PARENT_CHILD_FLD = "parent_child";
	}
	public sealed class Sys_RoleTable
	{
		public const string TABLE_NAME = "Sys_Role";
		public const string ROLEID_FLD = "RoleID";
		public const string NAME_FLD = "Name";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class Sys_UserTable
	{
		public const string TABLE_NAME = "Sys_User";
		public const string USERID_FLD = "UserID";
		public const string USERNAME_FLD = "UserName";
		public const string PWD_FLD = "Pwd";
		public const string NAME_FLD = "Name";
		public const string CREATEDDATE_FLD = "CreatedDate";
		public const string DESCRIPTION_FLD = "Description";
		public const string CCNID_FLD = "CCNID";
		public const string ACTIVATE_FLD = "Activate";
		public const string EXPIREDDATE_FLD = "ExpiredDate";
		public const string EMPLOYEEID_FLD = "EmployeeID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}	
	
	public sealed class Sys_UserToRoleTable	
	{
		public const string TABLE_NAME = "Sys_UserToRole";
		public const string ID_FLD = "id";
		public const string USERID_FLD = "UserID";
		public const string ROLEID_FLD = "RoleID";
	}



	public sealed class Sys_RightTable

	{
		public const string TABLE_NAME = "Sys_Right";

		public const string RIGHTID_FLD = "RightID";

		public const string PERMISSION_FLD = "Permission";

		public const string ROLEID_FLD = "RoleID";

		public const string MENU_ENTRYID_FLD = "Menu_EntryID";

	}


 

	
	//Product management
	public sealed class ITM_HierarchyTable
	{
		public const string TABLE_NAME = "ITM_Hierarchy";
		public const string HIERARCHYID_FLD = "HierarchyID";
		public const string SOURCE_FLD = "Source";
		public const string DES_FLD = "Destination";
	}

	public sealed class ITM_BOMTable
	{
		public const string TABLE_NAME = "ITM_BOM";
		public const string BOMID_FLD = "BomID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string COMPONENTID_FLD = "ComponentID";
		public const string EFFECTIVEBEGINDATE_FLD = "EffectiveBeginDate";
		public const string EFFECTIVEENDDATE_FLD = "EffectiveEndDate";
		public const string LEADTIMEOFFSET_FLD = "LeadTimeOffset";
		public const string QUANTITY_FLD = "Quantity";
		public const string ROUTINGID_FLD = "RoutingID";
		public const string SHRINK_FLD = "Shrink";
		public const string ANCESTOR_FLD = "Ancestor";
		public const string EFFECTIVEENDDAY_FLD = "EffectiveEndDay";
		public const string EFFECTIVEBEGINDAY_FLD = "EffectiveBeginDay";
		public const string ALTERNATIVE_FLD = "Alternative";
		public const string LINE_FLD = "Line";
	}
	public sealed class ITM_BuyerTable
	{
		public const string TABLE_NAME = "ITM_Buyer";
		public const string BUYERID_FLD = "BuyerID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string NAME_FLD = "Name";
		public const string ADDRESS_FLD = "Address";
	}
	public sealed class ITM_CategoryTable
	{
		public const string TABLE_NAME = "ITM_Category";
		public const string CATEGORYID_FLD = "CategoryID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string DESCRIPTION_FLD = "Description";
		public const string PARENTCATEGORYID_FLD = "ParentCategoryId";
		public const string CATALOGNAME_FLD = "CatalogName";
		public const string PICTURE_FLD = "Picture";
	}
	public sealed class ITM_CostTable
	{
		public const string TABLE_NAME = "ITM_Cost";
		public const string MANUAL_FLD = "Manual";
		public const string SINGLEROLLUPDATE_FLD = "SingleRollUpDate";
		public const string MULTIROLLUPDATE_FLD = "MultiRollUpDate";
		public const string COSTSETUPDATE_FLD = "CostSetupDate";
		public const string COMMATERIAL01_FLD = "ComMaterial01";
		public const string COMMATERIALOVERHEAD02_FLD = "ComMaterialOverHead02";
		public const string COMMACHINESETUP03_FLD = "ComMachineSetup03";
		public const string COMMACHINESETUPFIXED04_FLD = "ComMachineSetupFixed04";
		public const string COMMACHINESETUPVAR05_FLD = "ComMachineSetupVar05";
		public const string COMMACHINERUN06_FLD = "ComMachineRun06";
		public const string COMMACHINEFIXED07_FLD = "ComMachineFixed07";
		public const string COMMACHINEVARIABLE08_FLD = "ComMachineVariable08";
		public const string COMLABORSETUP09_FLD = "ComLaborSetup09";
		public const string COMLABORSETUPFIXED10_FLD = "ComLaborSetupFixed10";
		public const string COMLABORSETUPVARIABLE11_FLD = "ComLaborSetupVariable11";
		public const string COMLABORRUN12_FLD = "ComLaborRun12";
		public const string COMLABORFIXED13_FLD = "ComLaborFixed13";
		public const string COMLABORVARIABLE14_FLD = "ComLaborVariable14";
		public const string COMOUTSIDEPROC15_FLD = "ComOutsideProc15";
		public const string COMASSEMBLYSCRAP16_FLD = "ComAssemblyScrap16";
		public const string COMSHRINK17_FLD = "ComShrink17";
		public const string COMFREIGHT18_FLD = "ComFreight18";
		public const string COMUSERSTANDARD1_19_FLD = "ComUserStandard1_19";
		public const string COMUSERSTANDARD2_20_FLD = "ComUserStandard2_20";
		public const string COMTOTALAMOUNT21_FLD = "ComTotalAmount21";
		public const string VADDCOSTMATERIAL01_FLD = "VAddCostMaterial01";
		public const string VADDCOSTMATERIALOVERHEAD02_FLD = "VAddCostMaterialOverHead02";
		public const string VADDCOSTMACHINESETUP03_FLD = "VAddCostMachineSetup03";
		public const string VADDCOSTMACHINESETUPFIXED04_FLD = "VAddCostMachineSetupFixed04";
		public const string VADDCOSTMACHINESETUPVAR05_FLD = "VAddCostMachineSetupVar05";
		public const string VADDCOSTMACHINERUN06_FLD = "VAddCostMachineRun06";
		public const string VADDCOSTMACHINEFIXED07_FLD = "VAddCostMachineFixed07";
		public const string VADDCOSTMACHINEVARIABLE08_FLD = "VAddCostMachineVariable08";
		public const string VADDCOSTLABORSETUP09_FLD = "VAddCostLaborSetup09";
		public const string VADDCOSTLABORSETUPFIXED10_FLD = "VAddCostLaborSetupFixed10";
		public const string VADDCOSTLABORSETUPVARIABLE11_FLD = "VAddCostLaborSetupVariable11";
		public const string VADDCOSTLABORRUN12_FLD = "VAddCostLaborRun12";
		public const string VADDCOSTLABORFIXED13_FLD = "VAddCostLaborFixed13";
		public const string VADDCOSTLABORVARIABLE14_FLD = "VAddCostLaborVariable14";
		public const string VADDCOSTOUTSIDEPROC15_FLD = "VAddCostOutsideProc15";
		public const string VADDCOSTASSEMBLYSCRAP16_FLD = "VAddCostAssemblyScrap16";
		public const string VADDCOSTSHRINK17_FLD = "VAddCostShrink17";
		public const string VADDCOSTFREIGHT18_FLD = "VAddCostFreight18";
		public const string VADDCOSTUSERSTANDARD1_19_FLD = "VAddCostUserStandard1_19";
		public const string VADDCOSTUSERSTANDARD2_20_FLD = "VAddCostUserStandard2_20";
		public const string VADDCOSTTOTALAMOUNT21_FLD = "VAddCostTotalAmount21";
		public const string COMPONENTLABORRUNHOUR_FLD = "ComponentLaborRunHour";
		public const string COMPONENTLABORSETUPHOUR_FLD = "ComponentLaborSetupHour";
		public const string COMPONENTMACHINERUNHOUR_FLD = "ComponentMachineRunHour";
		public const string COMPONENTMACHINESETUPHOUR_FLD = "ComponentMachineSetupHour";
		public const string VALUEADDEDLABORRUNHOUR_FLD = "ValueAddedLaborRunHour";
		public const string VALUEADDEDLABORSETUPHOUR_FLD = "ValueAddedLaborSetupHour";
		public const string VALUEADDEDMACHINERUNHOUR_FLD = "ValueAddedMachineRunHour";
		public const string VALUEADDEDMACHINESETUPHOUR_FLD = "ValueAddedMachineSetupHour";
		public const string ITEMLABORRUNHOUR_FLD = "ItemLaborRunHour";
		public const string ITEMLABORSETUPHOUR_FLD = "ItemLaborSetupHour";
		public const string ITEMMACHINERUNHOUR_FLD = "ItemMachineRunHour";
		public const string ITEMMACHINESETUPHOUR_FLD = "ItemMachineSetupHour";
		public const string BCR_FLD = "BCR";
		public const string ITEMCOSTMATERIAL01_FLD = "ItemCostMaterial01";
		public const string ITEMCOSTMATERIALOVERHEAD02_FLD = "ItemCostMaterialOverHead02";
		public const string ITEMCOSTMACHINESETUP03_FLD = "ItemCostMachineSetup03";
		public const string ITEMCOSTMACHINESETUPFIXED04_FLD = "ItemCostMachineSetupFixed04";
		public const string ITEMCOSTMACHINESETUPVAR05_FLD = "ItemCostMachineSetupVar05";
		public const string ITEMCOSTMACHINERUN06_FLD = "ItemCostMachineRun06";
		public const string ITEMCOSTMACHINEFIXED07_FLD = "ItemCostMachineFixed07";
		public const string ITEMCOSTMACHINEVARIABLE08_FLD = "ItemCostMachineVariable08";
		public const string ITEMCOSTLABORSETUP09_FLD = "ItemCostLaborSetup09";
		public const string ITEMCOSTLABORSETUPFIXED10_FLD = "ItemCostLaborSetupFixed10";
		public const string ITEMCOSTLABORSETUPVARIABLE11_FLD = "ItemCostLaborSetupVariable11";
		public const string ITEMCOSTLABORRUN12_FLD = "ItemCostLaborRun12";
		public const string ITEMCOSTLABORFIXED13_FLD = "ItemCostLaborFixed13";
		public const string ITEMCOSTLABORVARIABLE14_FLD = "ItemCostLaborVariable14";
		public const string ITEMCOSTOUTSIDEPROC15_FLD = "ItemCostOutsideProc15";
		public const string ITEMCOSTASSEMBLYSCRAP16_FLD = "ItemCostAssemblyScrap16";
		public const string ITEMCOSTSHRINK17_FLD = "ItemCostShrink17";
		public const string ITEMCOSTFREIGHT18_FLD = "ItemCostFreight18";
		public const string ITEMCOSTUSERSTANDARD1_19_FLD = "ItemCostUserStandard1_19";
		public const string ITEMCOSTUSERSTANDARD2_20_FLD = "ItemCostUserStandard2_20";
		public const string ITEMCOSTTOTALAMOUNT21_FLD = "ItemCostTotalAmount21";
		public const string PRODUCTID_FLD = "ProductID";
		public const string COSTID_FLD = "CostID";
		public const string CCNID_FLD = "CCNID";
		public const string COSTDESCRIPTION_FLD = "CostDescription";
	}
	public sealed class ITM_CostCenterTable
	{
		public const string TABLE_NAME = "ITM_CostCenter";
		public const string COSTCENTERID_FLD = "CostCenterID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class ITM_CostCenterRateTable
	{
		public const string TABLE_NAME = "ITM_CostCenterRate";
		public const string COSTCENTERRATEID_FLD = "CostCenterRateID";
		public const string LABORSETUP_FLD = "LaborSetup";
		public const string LABORSETUPFIXEDOVERHEAD_FLD = "LaborSetupFixedOverhead";
		public const string LABORSETUPVARIABLEOVERHEAD_FLD = "LaborSetupVariableOverhead";
		public const string LABORRUN_FLD = "LaborRun";
		public const string LABORRUNFIXEDOVERHEAD_FLD = "LaborRunFixedOverhead";
		public const string LABORRUNVARIABLEOVERHEAD_FLD = "LaborRunVariableOverhead";
		public const string MACHINESETUP_FLD = "MachineSetup";
		public const string MACHINESETUPFIXEDOVERHEAD_FLD = "MachineSetupFixedOverhead";
		public const string MACHINESETUPVARIABLEOVERHEAD_FLD = "MachineSetupVariableOverhead";
		public const string MACHINERUN_FLD = "MachineRun";
		public const string MACHINERUNFIXEDOVERHEAD_FLD = "MachineRunFixedOverhead";
		public const string MACHINERUNVARIABLEOVERHEAD_FLD = "MachineRunVariableOverhead";
		public const string MATERIALOVERHEAD_FLD = "MaterialOverhead";
		public const string EFFECTIVEBEGINDATE_FLD = "EffectiveBeginDate";
		public const string EFFECTIVEENDDATE_FLD = "EffectiveEndDate";
		public const string COSTCENTERID_FLD = "CostCenterID";
		public const string CCNID_FLD = "CCNID";

	}
	public sealed class ITM_CostDescriptionTable
	{
		public const string TABLE_NAME = "ITM_CostDescription";
		public const string COSTDESCRIPTIONID_FLD = "CostDescriptionID";
		public const string COSTDESC01_FLD = "CostDesc01";
		public const string COSTDESC02_FLD = "CostDesc02";
		public const string COSTDESC03_FLD = "CostDesc03";
		public const string COSTDESC04_FLD = "CostDesc04";
		public const string COSTDESC05_FLD = "CostDesc05";
		public const string COSTDESC06_FLD = "CostDesc06";
		public const string COSTDESC07_FLD = "CostDesc07";
		public const string COSTDESC08_FLD = "CostDesc08";
		public const string COSTDESC09_FLD = "CostDesc09";
		public const string COSTDESC10_FLD = "CostDesc10";
		public const string COSTDESC11_FLD = "CostDesc11";
		public const string COSTDESC12_FLD = "CostDesc12";
		public const string COSTDESC13_FLD = "CostDesc13";
		public const string COSTDESC14_FLD = "CostDesc14";
		public const string COSTDESC15_FLD = "CostDesc15";
		public const string COSTDESC16_FLD = "CostDesc16";
		public const string COSTDESC17_FLD = "CostDesc17";
		public const string COSTDESC18_FLD = "CostDesc18";
		public const string COSTDESC19_FLD = "CostDesc19";
		public const string COSTDESC20_FLD = "CostDesc20";
		public const string COSTDESC21_FLD = "CostDesc21";
		public const string MACHRUNHRSDESC_FLD = "MachRunHrsDesc";
		public const string MACHSETUPHRSDESC_FLD = "MachSetupHrsDesc";
		public const string LABORRUNHRSDESC_FLD = "LaborRunHrsDesc";
		public const string LABORSETUPHRSDESC_FLD = "LaborSetupHrsDesc";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class ITM_CostOperationTable
	{
		public const string TABLE_NAME = "ITM_CostOperation";
		public const string COSTOPERATIONID_FLD = "CostOperationID";
		public const string COMMATERIAL01_FLD = "ComMaterial01";
		public const string COMMATERIALOVERHEAD02_FLD = "ComMaterialOverHead02";
		public const string COMMACHINESETUP03_FLD = "ComMachineSetup03";
		public const string COMMACHINESETUPFIXED04_FLD = "ComMachineSetupFixed04";
		public const string COMMACHINESETUPVAR05_FLD = "ComMachineSetupVar05";
		public const string COMMACHINERUN06_FLD = "ComMachineRun06";
		public const string COMMACHINEFIXED07_FLD = "ComMachineFixed07";
		public const string COMMACHINEVARIABLE08_FLD = "ComMachineVariable08";
		public const string COMLABORSETUP09_FLD = "ComLaborSetup09";
		public const string COMLABORSETUPFIXED10_FLD = "ComLaborSetupFixed10";
		public const string COMLABORSETUPVARIABLE11_FLD = "ComLaborSetupVariable11";
		public const string COMLABORRUN12_FLD = "ComLaborRun12";
		public const string COMLABORFIXED13_FLD = "ComLaborFixed13";
		public const string COMLABORVARIABLE14_FLD = "ComLaborVariable14";
		public const string COMOUTSIDEPROC15_FLD = "ComOutsideProc15";
		public const string COMASSEMBLYSCRAP16_FLD = "ComAssemblyScrap16";
		public const string COMSHRINK17_FLD = "ComShrink17";
		public const string COMFREIGHT18_FLD = "ComFreight18";
		public const string COMUSERSTANDARD1_19_FLD = "ComUserStandard1_19";
		public const string COMUSERSTANDARD2_20_FLD = "ComUserStandard2_20";
		public const string COMTOTALAMOUNT21_FLD = "ComTotalAmount21";
		public const string VADDCOSTMATERIAL01_FLD = "VAddCostMaterial01";
		public const string VADDCOSTMATERIALOVERHEAD02_FLD = "VAddCostMaterialOverHead02";
		public const string VADDCOSTMACHINESETUP03_FLD = "VAddCostMachineSetup03";
		public const string VADDCOSTMACHINESETUPFIXED04_FLD = "VAddCostMachineSetupFixed04";
		public const string VADDCOSTMACHINESETUPVAR05_FLD = "VAddCostMachineSetupVar05";
		public const string VADDCOSTMACHINERUN06_FLD = "VAddCostMachineRun06";
		public const string VADDCOSTMACHINEFIXED07_FLD = "VAddCostMachineFixed07";
		public const string VADDCOSTMACHINEVARIABLE08_FLD = "VAddCostMachineVariable08";
		public const string VADDCOSTLABORSETUP09_FLD = "VAddCostLaborSetup09";
		public const string VADDCOSTLABORSETUPFIXED10_FLD = "VAddCostLaborSetupFixed10";
		public const string VADDCOSTLABORSETUPVARIABLE11_FLD = "VAddCostLaborSetupVariable11";
		public const string VADDCOSTLABORRUN12_FLD = "VAddCostLaborRun12";
		public const string VADDCOSTLABORFIXED13_FLD = "VAddCostLaborFixed13";
		public const string VADDCOSTLABORVARIABLE14_FLD = "VAddCostLaborVariable14";
		public const string VADDCOSTOUTSIDEPROC15_FLD = "VAddCostOutsideProc15";
		public const string VADDCOSTASSEMBLYSCRAP16_FLD = "VAddCostAssemblyScrap16";
		public const string VADDCOSTSHRINK17_FLD = "VAddCostShrink17";
		public const string VADDCOSTFREIGHT18_FLD = "VAddCostFreight18";
		public const string VADDCOSTUSERSTANDARD1_19_FLD = "VAddCostUserStandard1_19";
		public const string VADDCOSTUSERSTANDARD2_20_FLD = "VAddCostUserStandard2_20";
		public const string VADDCOSTTOTALAMOUNT21_FLD = "VAddCostTotalAmount21";
		public const string COMPONENTLABORRUNHOUR_FLD = "ComponentLaborRunHour";
		public const string COMPONENTLABORSETUPHOUR_FLD = "ComponentLaborSetupHour";
		public const string COMPONENTMACHINERUNHOUR_FLD = "ComponentMachineRunHour";
		public const string COMPONENTMACHINESETUPHOUR_FLD = "ComponentMachineSetupHour";
		public const string VALUEADDEDLABORRUNHOUR_FLD = "ValueAddedLaborRunHour";
		public const string VALUEADDEDLABORSETUPHOUR_FLD = "ValueAddedLaborSetupHour";
		public const string VALUEADDEDMACHINERUNHOUR_FLD = "ValueAddedMachineRunHour";
		public const string VALUEADDEDMACHINESETUPHOUR_FLD = "ValueAddedMachineSetupHour";
		public const string OPERATIONLABORRUNHOUR_FLD = "OperationLaborRunHour";
		public const string OPERATIONLABORSETUPHOUR_FLD = "OperationLaborSetupHour";
		public const string OPERATIONMACHINERUNHOUR_FLD = "OperationMachineRunHour";
		public const string OPERATIONMACHINESETUPHOUR_FLD = "OperationMachineSetupHour";
		public const string BCR_FLD = "BCR";
		public const string OPERCOSTMATERIAL01_FLD = "OperCostMaterial01";
		public const string OPERCOSTMATERIALOVERHEAD02_FLD = "OperCostMaterialOverHead02";
		public const string OPERCOSTMACHINESETUP03_FLD = "OperCostMachineSetup03";
		public const string OPERCOSTMACHINESETUPFIXED04_FLD = "OperCostMachineSetupFixed04";
		public const string OPERCOSTMACHINESETUPVAR05_FLD = "OperCostMachineSetupVar05";
		public const string OPERCOSTMACHINERUN06_FLD = "OperCostMachineRun06";
		public const string OPERCOSTMACHINEFIXED07_FLD = "OperCostMachineFixed07";
		public const string OPERCOSTMACHINEVARIABLE08_FLD = "OperCostMachineVariable08";
		public const string OPERCOSTLABORSETUP09_FLD = "OperCostLaborSetup09";
		public const string OPERCOSTLABORSETUPFIXED10_FLD = "OperCostLaborSetupFixed10";
		public const string OPERCOSTLABORSETUPVARIABLE11_FLD = "OperCostLaborSetupVariable11";
		public const string OPERCOSTLABORRUN12_FLD = "OperCostLaborRun12";
		public const string OPERCOSTLABORFIXED13_FLD = "OperCostLaborFixed13";
		public const string OPERCOSTLABORVARIABLE14_FLD = "OperCostLaborVariable14";
		public const string OPERCOSTOUTSIDEPROC15_FLD = "OperCostOutsideProc15";
		public const string OPERCOSTASSEMBLYSCRAP16_FLD = "OperCostAssemblyScrap16";
		public const string OPERCOSTSHRINK17_FLD = "OperCostShrink17";
		public const string OPERCOSTFREIGHT18_FLD = "OperCostFreight18";
		public const string OPERCOSTUSERSTANDARD1_19_FLD = "OperCostUserStandard1_19";
		public const string OPERCOSTUSERSTANDARD2_20_FLD = "OperCostUserStandard2_20";
		public const string OPERCOSTTOTALAMOUNT21_FLD = "OperCostTotalAmount21";
		public const string ROUTINGID_FLD = "RoutingID";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
	}
	public sealed class ITM_DeleteReasonTable
	{
		public const string TABLE_NAME = "ITM_DeleteReason";
		public const string DELETEREASONID_FLD = "DeleteReasonID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_DeliveryPolicyTable
	{
		public const string TABLE_NAME = "ITM_DeliveryPolicy";
		public const string DELIVERYPOLICYID_FLD = "DeliveryPolicyID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string DELIVERYPOLICYDAYS_FLD = "DeliveryPolicyDays";
	}
	public sealed class ITM_FormatCodeTable
	{
		public const string TABLE_NAME = "ITM_FormatCode";
		public const string FORMATCODEID_FLD = "FormatCodeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_FreightClassTable
	{
		public const string TABLE_NAME = "ITM_FreightClass";
		public const string FREIGHTCLASSID_FLD = "FreightClassID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_HazardTable
	{
		public const string TABLE_NAME = "ITM_Hazard";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string HAZARDID_FLD = "HazardID";
	}
	public sealed class ITM_OrderPolicyTable
	{
		public const string TABLE_NAME = "ITM_OrderPolicy";
		public const string ORDERPOLICYID_FLD = "OrderPolicyID";
		public const string CODE_FLD = "Code";
		public const string ORDERPOLICYDAYS_FLD = "OrderPolicyDays";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_OrderRuleTable
	{
		public const string TABLE_NAME = "ITM_OrderRule";
		public const string ORDERRULEID_FLD = "OrderRuleID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_PictureTable
	{
		public const string TABLE_NAME = "ITM_Picture";
		public const string PICTUREID_FLD = "PictureID";
		public const string PICTUREIMAGE_FLD = "PictureImage";
		public const string PRODUCTID_FLD = "ProductID";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_ProductTable
	{
		public const string TABLE_NAME = "ITM_Product";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CODE_FLD = "Code";
		public const string REVISION_FLD = "Revision";
		public const string DESCRIPTION_FLD = "Description";
		public const string SETUPDATE_FLD = "SetupDate";
		public const string VAT_FLD = "VAT";
		public const string IMPORTTAX_FLD = "ImportTax";
		public const string EXPORTTAX_FLD = "ExportTax";
		public const string SPECIALTAX_FLD = "SpecialTax";
		public const string MAKEITEM_FLD = "MakeItem";
		public const string PARTNUMBER_FLD = "PartNumber";
		public const string OTHERINFO1_FLD = "OtherInfo1";
		public const string OTHERINFO2_FLD = "OtherInfo2";
		public const string LENGTH_FLD = "Length";
		public const string WIDTH_FLD = "Width";
		public const string HEIGHT_FLD = "Height";
		public const string WEIGHT_FLD = "Weight";
		public const string ACCOUNTCODE_FLD = "AccountCode";
		public const string FINISHEDGOODS_FLD = "FinishedGoods";
		public const string SHELFLIFE_FLD = "ShelfLife";
		public const string LOTCONTROL_FLD = "LotControl";
		public const string QASTATUS_FLD = "QAStatus";
		public const string STOCK_FLD = "Stock";
		public const string PLANTYPE_FLD = "PlanType";
		public const string AUTOCONVERSION_FLD = "AutoConversion";
		public const string ORDERQUANTITY_FLD = "OrderQuantity";
		public const string LTREQUISITION_FLD = "LTRequisition";
		public const string LTSAFETYSTOCK_FLD = "LTSafetyStock";
		public const string ORDERQUANTITYMULTIPLE_FLD = "OrderQuantityMultiple";
		public const string SCRAPPERCENT_FLD = "ScrapPercent";
		public const string MINIMUMSTOCK_FLD = "MinimumStock";
		public const string MAXIMUMSTOCK_FLD = "MaximumStock";
		public const string CONVERSIONTOLERANCE_FLD = "ConversionTolerance";
		public const string VOUCHERTOLERANCE_FLD = "VoucherTolerance";
		public const string RECEIVETOLERANCE_FLD = "ReceiveTolerance";
		public const string ISSUESIZE_FLD = "IssueSize";
		public const string LTFIXEDTIME_FLD = "LTFixedTime";
		public const string LTVARIABLETIME_FLD = "LTVariableTime";
		public const string LTDOCKTOSTOCK_FLD = "LTDockToStock";
		public const string LTORDERPREPARE_FLD = "LTOrderPrepare";
		public const string LTSHIPPINGPREPARE_FLD = "LTShippingPrepare";
		public const string LTSALESATP_FLD = "LTSalesATP";
		public const string SHIPTOLERANCEID_FLD = "ShipToleranceID";
		public const string BUYERID_FLD = "BuyerID";
		public const string BOMDESCRIPTION_FLD = "BOMDescription";
		public const string BOMINCREMENT_FLD = "BomIncrement";
		public const string ROUTINGDESCRIPTION_FLD = "RoutingDescription";
		public const string CREATEDATETIME_FLD = "CreateDateTime";
		public const string UPDATEDATETIME_FLD = "UpdateDateTime";
		public const string COSTMETHOD_FLD = "CostMethod";
		public const string ROUTINGINCREMENT_FLD = "RoutingIncrement";
		public const string CCNID_FLD = "CCNID";
		public const string CATEGORYID_FLD = "CategoryID";
		public const string COSTCENTERID_FLD = "CostCenterID";
		public const string DELETEREASONID_FLD = "DeleteReasonID";
		public const string DELIVERYPOLICYID_FLD = "DeliveryPolicyID";
		public const string FORMATCODEID_FLD = "FormatCodeID";
		public const string FREIGHTCLASSID_FLD = "FreightClassID";
		public const string HAZARDID_FLD = "HazardID";
		public const string ORDERPOLICYID_FLD = "OrderPolicyID";
		public const string ORDERRULEID_FLD = "OrderRuleID";
		public const string SOURCEID_FLD = "SourceID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string SELLINGUMID_FLD = "SellingUMID";
		public const string HEIGHTUMID_FLD = "HeightUMID";
		public const string WIDTHUMID_FLD = "WidthUMID";
		public const string LENGTHUMID_FLD = "LengthUMID";
		public const string BUYINGUMID_FLD = "BuyingUMID";
		public const string WEIGHTUMID_FLD = "WeightUMID";
		public const string LOTSIZE_FLD = "LotSize";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string PRIMARYVENDORID_FLD = "PrimaryVendorID";
		public const string VENDORLOCATIONID_FLD = "VendorLocationID";
		public const string ORDERPOINT_FLD = "OrderPoint";
		public const string SAFETYSTOCK_FLD = "SafetyStock";
		public const string AGCID_FLD = "AGCID";
		public const string PARTNAMEVN_FLD = "PartNameVN";
		public const string LICENSEFEE_FLD = "LicenseFee";
		public const string INVENTORID_FLD = "InventorID";
		public const string PRODUCTTYPEID_FLD = "ProductTypeID";
		public const string TAXCODE_FLD = "TaxCode";
		public const string LISTPRICE_FLD = "ListPrice";
		public const string VENDORCURRENCYID_FLD = "VendorCurrencyID";
		public const string QUANTITYSET_FLD = "QuantitySet";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string COSTCENTERRATEMASTERID_FLD = "CostCenterRateMasterID";
		public const string PRODUCTGROUPID_FLD = "ProductGroupID";
		public const string MINPRODUCE_FLD = "MinProduce";
		public const string MAXPRODUCE_FLD = "MaxProduce";
		public const string PICTURE_FLD = "Picture";
		public const string MAXROUNDUPTOMIN_FLD = "MaxRoundUpToMin";
		public const string MAXROUNDUPTOMULTIPLE_FLD = "MaxRoundUpToMultiple";
		public const string ACADJUSTMENTMASTERID_FLD = "ACAdjustmentMasterID";
		//HACK: added by Tuan TQ
		public const string REGISTEREDCODE_FLD = "RegisteredCode";
		//End Hack
	}

	public sealed class ITM_ProductTypeTable
	{
		public const string TABLE_NAME = "ITM_ProductType";
		public const string PRODUCTTYPEID_FLD = "ProductTypeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}	
	
	public sealed class ITM_RoutingTable
	{
		public const string TABLE_NAME = "ITM_Routing";
		public const string ROUTINGID_FLD = "RoutingID";
		public const string STEP_FLD = "Step";
		public const string TYPE_FLD = "Type";
		public const string MACHINESETUPTIME_FLD = "MachineSetupTime";
		public const string MACHINERUNTIME_FLD = "MachineRunTime";
		public const string MACHINES_FLD = "Machines";
		public const string LABORRUNTIME_FLD = "LaborRunTime";
		public const string LABORSETUPTIME_FLD = "LaborSetupTime";
		public const string CREWSIZE_FLD = "CrewSize";
		public const string SETUPQUANTITY_FLD = "SetupQuantity";
		public const string STUDYTIME_FLD = "StudyTime";
		public const string MOVETIME_FLD = "MoveTime";
		public const string LABORCOSTCENTERID_FLD = "LaborCostCenterID";
		public const string MACHINECOSTCENTERID_FLD = "MachineCostCenterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string FUNCTIONID_FLD = "FunctionID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string EFFECTENDDATE_FLD = "EffectEndDate";
		public const string OSVARLT_FLD = "OSVarLT";
		public const string OSFIXLT_FLD = "OSFixLT";
		public const string EFFECTBEGINDATE_FLD = "EffectBeginDate";
		public const string OSOVERLAPPERCENT_FLD = "OSOverlapPercent";
		public const string OSOVERLAPQTY_FLD = "OSOverlapQty";
		public const string OSSCHEDULESEQ_FLD = "OSScheduleSeq";
		public const string OSCOST_FLD = "OSCost";
		public const string OVERLAPPERCENT_FLD = "OverlapPercent";
		public const string OVERLAPQTY_FLD = "OverlapQty";
		public const string SCHEDULESEQ_FLD = "ScheduleSeq";
		public const string VARLT_FLD = "VarLT";
		public const string FIXLT_FLD = "FixLT";
		public const string ROUTINGSTATUSID_FLD = "RoutingStatusID";
		public const string RUNQUANTITY_FLD = "RunQuantity";
		public const string PARTYID_FLD = "PartyID";
		public const string PACER_FLD = "Pacer";
	}
	public sealed class ITM_RoutingStatusTable
	{
		public const string TABLE_NAME = "ITM_RoutingStatus";
		public const string ROUTINGSTATUSID_FLD = "RoutingStatusID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class ITM_ShipToleranceTable
	{
		public const string TABLE_NAME = "ITM_ShipTolerance";
		public const string SHIPTOLERANCEID_FLD = "ShipToleranceID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string OVERQTY_FLD = "OverQty";
		public const string UNDERQTY_FLD = "UnderQty";
	}
	public sealed class ITM_SourceTable
	{
		public const string TABLE_NAME = "ITM_Source";
		public const string SOURCEID_FLD = "SourceID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	//Sale order

	public sealed class v_SOCancelCommitment
	{
		public const string VIEW_NAME = "v_SOCancelCommitment";
	}	

	public sealed class v_SOConfirmPackList
	{
		public const string VIEW_NAME = "v_SOConfirmPackList";
	}
	public sealed class v_SOPackListManagement
	{
		public const string VIEW_NAME = "v_SOPackListManagement";
	}

	public sealed class v_SOPackList_SaleOrder
	{
		public const string VIEW_NAME = "v_SOPackList_SaleOrder";
	}
	public sealed class v_ITMBOM_Product
	{
		public const string VIEW_NAME = "v_ITMBOM_Product";
		public const string HASBOM_FLD = "HasBom";
	}

	public sealed class v_ITMCostCenterRate
	{
		public const string VIEW_NAME  = "v_ITMCostCenterRate";
		public const string HASCOSTCENTERRATE_FLD = "HasCostCenterRate";
	}


	public sealed class v_SelectPurchaseOrders
	{
		public const string VIEW_NAME  = "v_SelectPurchaseOrders";
	}

 


	public sealed class SO_AdditionChargeTable
	{
		public const string TABLE_NAME = "SO_AdditionCharge";
		public const string ADDCHARGEID_FLD = "AddChargeID";
		public const string ADDITIONCHARGEID_FLD = "AdditionChargeID";
		public const string QUANTITY_FLD = "Quantity";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string VATAMOUNT_FLD = "VatAmount";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string TYPE_FLD = "Type";
		public const string AMOUNT_FLD = "Amount";
		public const string REASONID_FLD = "ReasonID";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
	}
	public sealed class SO_CancelReasonTable
	{
		public const string TABLE_NAME = "SO_CancelReason";
		public const string CANCELREASONID_FLD = "CancelReasonID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class SO_CommitInventoryDetailTable
	{
		public const string TABLE_NAME = "SO_CommitInventoryDetail";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string COMMITINVENTORYDETAILID_FLD = "CommitInventoryDetailID";
		public const string LINE_FLD = "Line";
		public const string INSPECTIONSTATUS_FLD = "InspectionStatus";
		public const string LOT_FLD = "Lot";
		public const string COMMITQUANTITY_FLD = "CommitQuantity";
		public const string COMMITINVENTORYMASTERID_FLD = "CommitInventoryMasterID";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string SERIAL_FLD = "Serial";
		public const string PACKED_FLD = "Packed";
		public const string UMRATE_FLD = "UMRate";
		public const string SELLINGUMID_FLD = "SellingUMID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string STDCOST_FLD = "STDCost";
		public const string COSTOFGOODSSOLD_FLD = "CostOfGoodsSold";
		public const string SHIPPED_FLD = "Shipped";
		public const string  SHIPDATE_FLD="ShipDate";
		public const string  CCNID_FLD="CCNID";
		 
		
	}
	public sealed class SO_CommitInventoryMasterTable
	{
		public const string TABLE_NAME = "SO_CommitInventoryMaster";
		public const string COMMITINVENTORYMASTERID_FLD = "CommitInventoryMasterID";
		public const string COMMITMENTNO_FLD = "CommitmentNo";
		public const string COMMITDATE_FLD = "CommitDate";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string EMPLOYEEID_FLD = "EmployeeID";
		public const string USERNAME_FLD = "UserName";
	}

	public sealed class SO_DeliveryScheduleTable
	{
		public const string TABLE_NAME = "SO_DeliverySchedule";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
		public const string LINE_FLD = "Line";
		public const string REQUIREDDATE_FLD = "RequiredDate";
		public const string PROMISEDATE_FLD = "PromiseDate";
		public const string SCHEDULEDATE_FLD = "ScheduleDate";
		public const string DELIVERYQUANTITY_FLD = "DeliveryQuantity";
		public const string DELIVERYNO_FLD = "DeliveryNo";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
		public const string GATEID_FLD = "GateID";
	}
	public sealed class SO_PackListDetailTable
	{

		public const string TABLE_NAME = "SO_PackListDetail";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string COMMITQUANTITY_FLD = "CommitQuantity";
		public const string PACKLISTDETAILID_FLD = "PackListDetailID";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailId";
		public const string PACKLISTMASTERID_FLD = "PackListMasterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string COMMITINVENTORYDETAILID_FLD = "CommitInventoryDetailID";
	}

	public sealed class SO_PackListMasterTable
	{
		public const string TABLE_NAME = "SO_PackListMaster";
		public const string PACKLISTMASTERID_FLD = "PackListMasterID";
		public const string PACKLISTNO_FLD = "PackListNo";
		public const string PACKEDDATETIME_FLD = "PackedDateTime";
		public const string STATUS_FLD = "Status";
		public const string SHIPPED_FLD = "Shipped";
		public const string SHIPDATE_FLD = "ShipDate";
		public const string CARRIERID_FLD = "CarrierID";
		public const string WEIGHT_FLD = "Weight";
		public const string BOL_FLD = "BOL";
		public const string CONFIRMPACKDATE_FLD = "ConfirmPackDate";
		public const string EMPLOYEEID_FLD = "EmployeeID";
		public const string UNITOFMEASUREID_FLD = "UnitOfMeasureID";
	}
	public sealed class SO_PaymentMethodTable
	{
		public const string TABLE_NAME = "SO_PaymentMethod";
		public const string PAYMENTMETHODID_FLD = "PaymentMethodID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class SO_SaleOrderDetailTable
	{
		public const string TABLE_NAME = "SO_SaleOrderDetail";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
		public const string SALEORDERLINE_FLD = "SaleOrderLine";
		public const string AUTOCOMMIT_FLD = "AutoCommit";
		public const string ORDERQUANTITY_FLD = "OrderQuantity";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string VATAMOUNT_FLD = "VATAmount";
		public const string EXPORTTAXAMOUNT_FLD = "ExportTaxAmount";
		public const string SPECIALTAXAMOUNT_FLD = "SpecialTaxAmount";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string DISCOUNTAMOUNT_FLD = "DiscountAmount";
		public const string NETAMOUNT_FLD = "NetAmount";
		public const string ITEMCUSTOMERCODE_FLD = "ItemCustomerCode";
		public const string ITEMCUSTOMERREVISION_FLD = "ItemCustomerRevision";
		public const string CANCELREASONID_FLD = "CancelReasonID";
		public const string VATPERCENT_FLD = "VATPercent";
		public const string EXPORTTAXPERCENT_FLD = "ExportTaxPercent";
		public const string SPECIALTAXPERCENT_FLD = "SpecialTaxPercent";
		public const string UMRATE_FLD = "UMRate";
		public const string SHIPQUANTITY_FLD = "ShipQuantity";
		public const string BACKORDERQTY_FLD = "BackOrderQty";
		public const string STOCKQUANTITY_FLD = "StockQuantity";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CONVERTEDQUANTITY_FLD = "ConvertedQuantity";
		public const string REASONID_FLD = "ReasonID";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string SELLINGUMID_FLD = "SellingUMID";
	}

	public sealed class SO_SaleOrderMasterTable
	{
		public const string TABLE_NAME = "SO_SaleOrderMaster";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string CODE_FLD = "Code";
		public const string TRANSDATE_FLD = "TransDate";
		public const string CUSTOMERPURCHASEORDERNO_FLD = "CustomerPurchaseOrderNo";
		public const string VAT_FLD = "VAT";
		public const string VATRATE_FLD = "VATRate";
		public const string EXPORTTAX_FLD = "ExportTax";
		public const string SPECIALTAX_FLD = "SpecialTax";
		public const string EXPORTTAXRATE_FLD = "ExportTaxRate";
		public const string SHIPCOMPLETED_FLD = "ShipCompleted";
		public const string SALESREPRESENTATIVEID_FLD = "SalesRepresentativeID";
		public const string SPECIALTAXRATE_FLD = "SpecialTaxRate";
		public const string CCNID_FLD = "CCNID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string CARRIERID_FLD = "CarrierID";
		public const string PAYMENTTERMSID_FLD = "PaymentTermsID";
		public const string DELIVERYTERMSID_FLD = "DeliveryTermsID";
		public const string DISCOUNTTERMSID_FLD = "DiscountTermsID";
		public const string PAUSEID_FLD = "PauseID";
		public const string TOTALVATAMOUNT_FLD = "TotalVATAmount";
		public const string TOTALEXPORTAMOUNT_FLD = "TotalExportAmount";
		public const string TOTALSPECIALTAXAMOUNT_FLD = "TotalSpecialTaxAmount";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string TOTALDISCOUNTAMOUNT_FLD = "TotalDiscountAmount";
		public const string TOTALNETAMOUNT_FLD = "TotalNetAmount";
		public const string PAYMENTMETHODID_FLD = "PaymentMethodID";
		public const string PRIORITY_FLD = "Priority";		
		public const string BUYINGLOCID_FLD = "BuyingLocID";
		public const string SHIPTOLOCID_FLD = "ShipToLocID";
		public const string BILLTOLOCID_FLD = "BillToLocID";
		public const string PARTYCONTACTID_FLD = "PartyContactID";		
		public const string SALESTATUSID_FLD = "SaleStatusID";
		public const string CANCELREASONID_FLD = "CancelReasonID";		
		public const string SALETYPEID_FLD = "SaleTypeID";
		public const string PARTYID_FLD = "PartyID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string SHIPFROMLOCID_FLD = "ShipFromLocID";
		public const string TYPEID_FLD = "TypeID";		 
	}

	public sealed class SO_SaleStatusTable
	{
		public const string TABLE_NAME = "SO_SaleStatus";
		public const string SALESTATUSID_FLD = "SaleStatusID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class SO_SaleTypeTable
	{
		public const string TABLE_NAME = "SO_SaleType";
		public const string SALETYPEID_FLD = "SaleTypeID";
		public const string DESCRIPTION_FLD = "Description";
		public const string CODE_FLD = "Code";
	}

	public sealed class SO_ReturnedGoodsDetailTable
	{
		public const string TABLE_NAME = "SO_ReturnedGoodsDetail";
		public const string RETURNEDGOODSDETAILID_FLD = "ReturnedGoodsDetailID";
		public const string RECEIVEQUANTITY_FLD = "ReceiveQuantity";
		public const string UNITID_FLD = "UnitID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string RETURNEDGOODSMASTERID_FLD = "ReturnedGoodsMasterID";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string QASTATUS_FLD = "QAStatus";
		public const string LOT_FLD = "Lot";
		public const string LINE_FLD = "Line";
		public const string SERIAL_FLD = "Serial";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
		public const string QUANTITYOFSELLING_FLD = "QuantityOfSelling";
		public const string BALANCEQTY_FLD = "BalanceQty";
		public const string CONFIRMSHIPMASTERID_FLD = "ConfirmShipMasterID";
		//public const string COMMITINVENTORYMASTERID_FLD = "CommitInventoryMasterID";
		//public const string COMMITINVENTORYDETAILID_FLD = "CommitInventoryDetailID";
	}
	public sealed class SO_ReturnedGoodsMasterTable
	{
		public const string TABLE_NAME = "SO_ReturnedGoodsMaster";
		public const string RETURNEDGOODSMASTERID_FLD = "ReturnedGoodsMasterID";
		public const string RETURNEDGOODSNUMBER_FLD = "ReturnedGoodsNumber";
		public const string RECEIVERID_FLD = "ReceiverID";
		public const string CCNID_FLD = "CCNID";
		public const string TRANSDATE_FLD = "TransDate";
		public const string DESCRIPTION_FLD = "Description";
		public const string POSTDATE_FLD = "PostDate";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string PARTYID_FLD = "PartyID";
		public const string PARTYCONTACTID_FLD = "PartyContactID";
		public const string PARTYLOCATIONID_FLD = "PartyLocationID";
		public const string  MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string  CURRENCYID_FLD = "CurrencyID";
		public const string  EXCHANGERATE_FLD = "ExchangeRate";

	}

	//Master table

	public sealed class MST_DiscountTermTable
	{
		public const string TABLE_NAME = "MST_DiscountTerm";
		public const string DISCOUNTTERMID_FLD = "DiscountTermID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string QUANTITY_FLD = "Quantity";
		public const string RATE_FLD = "Rate";
	}
	public sealed class MST_PauseTable
	{
		public const string TABLE_NAME = "MST_Pause";
		public const string PAUSEID_FLD = "PauseID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class MST_AGCTable
	{
		public const string TABLE_NAME = "MST_AGC";
		public const string AGCID_FLD = "AGCID";
		public const string DESCRIPTION_FLD = "Description";
		public const string CODE_FLD = "Code";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class MST_ApprovalLevelTable
	{
		public const string TABLE_NAME = "MST_ApprovalLevel";
		public const string APPROVALLEVELID_FLD = "ApprovalLevelID";
		public const string LEVEL_FLD = "Level";
		public const string AMOUNT_FLD = "Amount";
		public const string DESCRIPTION_FLD = "Description";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class MST_BINTable
	{
		public const string TABLE_NAME = "MST_BIN";
		public const string BINID_FLD = "BinID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string LENGTH_FLD = "Length";
		public const string WIDTH_FLD = "Width";
		public const string HEIGHT_FLD = "Height";
		public const string LOCATIONID_FLD = "LocationID";
		public const string LENGTHUNITID_FLD = "LengthUnitID";
		public const string HEIGHTUNITID_FLD = "HeightUnitID";
		public const string WIDTHUNITID_FLD = "WidthUnitID";
		public const string BINTYPEID_FLD = "BinTypeID";
	}
	public sealed class MST_CarrierTable
	{
		public const string TABLE_NAME = "MST_Carrier";
		public const string CARRIERID_FLD = "CarrierID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string ADDRESS_FLD = "Address";
		public const string PHONE_FLD = "Phone";
		public const string FAX_FLD = "Fax";
		public const string EMAIL_FLD = "Email";
		public const string WEBSITE_FLD = "WebSite";
	}
	public sealed class MST_CCNTable
	{
		public const string TABLE_NAME = "MST_CCN";
		public const string CCNID_FLD = "CCNID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string NAME_FLD = "Name";
		public const string STATE_FLD = "State";
		public const string ZIPCODE_FLD = "ZipCode";
		public const string PHONE_FLD = "Phone";
		public const string FAX_FLD = "Fax";
		public const string WEBSITE_FLD = "WebSite";
		public const string EMAIL_FLD = "Email";
		public const string VAT_FLD = "VAT";
		public const string COUNTRYID_FLD = "CountryID";
		public const string CITYID_FLD = "CityID";
		public const string HOMECURRENCYID_FLD = "HomeCurrencyID";
		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string DEFAULTCURRENCYID_FLD = "DefaultCurrencyID";
		public const string EXCHANGERATEOPERATOR_FLD = "ExchangeRateOperator";
	}
	public sealed class MST_CityTable
	{
		public const string TABLE_NAME = "MST_City";
		public const string CITYID_FLD = "CityID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string COUNTRYID_FLD = "CountryID";
	}
	public sealed class MST_CountryTable
	{
		public const string TABLE_NAME = "MST_Country";
		public const string COUNTRYID_FLD = "CountryID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
	}
	public sealed class MST_CurrencyTable
	{
		public const string TABLE_NAME = "MST_Currency";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string MASK_FLD = "Mask";
	}
	public sealed class MST_DeliveryTermTable
	{
		public const string TABLE_NAME = "MST_DeliveryTerm";
		public const string DELIVERYTERMID_FLD = "DeliveryTermID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class MST_DepartmentTable
	{
		public const string TABLE_NAME = "MST_Department";
		public const string DEPARTMENTID_FLD = "DepartmentID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class MST_EmployeeTable
	{
		public const string TABLE_NAME = "MST_Employee";
		public const string EMPLOYEEID_FLD = "EmployeeID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string DEPARTMENTID_FLD = "DepartmentID";
		public const string SHIFT_FLD = "Shift";
	}
	public sealed class MST_EmployeeApprovalLevelTable
	{
		public const string TABLE_NAME = "MST_EmployeeApprovalLevel";
		public const string DESCRIPTION_FLD = "Description";
		public const string EMPLOYEEAPPROVALLEVELID_FLD = "EmployeeApprovalLevelID";
		public const string EMPLOYEEID_FLD = "EmployeeID";
		public const string APPROVALLEVELID_FLD = "ApprovalLevelID";
	}
	public sealed class MST_ExchangeRateTable
	{
		public const string TABLE_NAME = "MST_ExchangeRate";
		public const string EXCHANGERATEID_FLD = "ExchangeRateID";
		public const string CODE_FLD = "Code";
		public const string RATE_FLD = "Rate";
		public const string DESCRIPTION_FLD = "Description";
		public const string APPROVED_FLD = "Approved";
		public const string APPROVALDATE_FLD = "ApprovalDate";
		public const string BEGINDATE_FLD = "BeginDate";
		public const string ENDDATE_FLD = "EndDate";
		public const string CCNID_FLD = "CCNID";
		public const string CURRENCYID_FLD = "CurrencyID";
	}
	public sealed class MST_LocationTable
	{
		public const string TABLE_NAME = "MST_Location";
		public const string LOCATIONID_FLD = "LocationID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string TYPE_FLD = "Type";
		public const string MANUFACTURINGACCESS_FLD = "ManufacturingAccess";
		public const string SALEACCESS_FLD = "SaleAccess";
		public const string BIN_FLD = "Bin";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string LOCATIONTYPEID_FLD = "LocationTypeID";
	}
	public sealed class MST_MasterLocationTable
	{
		public const string TABLE_NAME = "MST_MasterLocation";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string ADDRESS_FLD = "Address";
		public const string STATE_FLD = "State";
		public const string ZIPPOST_FLD = "ZipPost";
		public const string CCNID_FLD = "CCNID";
		public const string CITYID_FLD = "CityID";
		public const string COUNTRYID_FLD = "CountryID";
	}
	public sealed class MST_PaymentTermTable
	{
		public const string TABLE_NAME = "MST_PaymentTerm";
		public const string PAYMENTTERMID_FLD = "PaymentTermID";
		public const string CODE_FLD = "Code";
		public const string TYPE_FLD = "Type";
		public const string DESCRIPTION_FLD = "Description";
		public const string DISCOUNTPERCENT_FLD = "DiscountPercent";
		public const string NETDUEDATE_FLD = "NetDueDate";
		public const string DISCOUNTDATE_FLD = "DiscountDate";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class MST_ReasonTable
	{
		public const string TABLE_NAME = "MST_Reason";
		public const string REASONID_FLD = "ReasonID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class MST_TransactionHistoryTable
	{
		public const string TABLE_NAME = "MST_TransactionHistory";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string BINID_FLD = "BinID";
		public const string BUYSELLCOST_FLD = "BuySellCost";
		public const string INSPSTATUS_FLD = "InspStatus";
		public const string TRANSACTIONHISTORYID_FLD = "TransactionHistoryID";
		public const string TRANSDATE_FLD = "TransDate";
		public const string POSTDATE_FLD = "PostDate";
		public const string REFMASTERID_FLD = "RefMasterID";
		public const string REFDETAILID_FLD = "RefDetailID";
		public const string COST_FLD = "StdCost";
		public const string CCNID_FLD = "CCNID";
		public const string TRANTYPEID_FLD = "TranTypeID";
		public const string PARTYID_FLD = "PartyID";
		public const string PARTYLOCATIONID_FLD = "PartyLocationID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string QUANTITY_FLD = "Quantity";
		public const string MASLOCOHQUANTITY_FLD = "MasLocOHQuantity";
		public const string LOCATIONOHQUANTITY_FLD = "LocationOHQuantity";
		public const string BINOHQUANTITY_FLD = "BinOHQuantity";
		public const string COMMENT_FLD = "Comment";
		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string OLDAVGCOST_FLD = "OldAvgCost";
		public const string NEWAVGCOST_FLD = "NewAvgCost";
		public const string MASLOCCOMMITQUANTITY_FLD = "MasLocCommitQuantity";
		public const string LOCATIONCOMMITQUANTITY_FLD = "LocationCommitQuantity";
		public const string BINCOMMITQUANTITY_FLD = "BinCommitQuantity";	
		public const string ISSUEPUROSEID_FLD = "IssuePurposeID";	
		public const string USERNAME_FLD = "UserName";	
	}

	public sealed class MST_TranTypeTable
	{
		public const string TABLE_NAME = "MST_TranType";
		public const string TRANTYPEID_FLD = "TranTypeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";		
		public const string TYPE_FLD = "Type";		
	}
	public sealed class MST_UMRateTable
	{
		public const string TABLE_NAME = "MST_UMRate";
		public const string UMRATEID_FLD = "UMRateID";
		public const string SCALE_FLD = "Scale";
		public const string DESCRIPTION_FLD = "Description";
		public const string UNITOFMEASUREOUTID_FLD = "UnitOfMeasureOutID";
		public const string UNITOFMEASUREINID_FLD = "UnitOfMeasureInID";
	}
	public sealed class MST_UnitOfMeasureTable
	{
		public const string TABLE_NAME = "MST_UnitOfMeasure";
		public const string UNITOFMEASUREID_FLD = "UnitOfMeasureID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}
	public sealed class MST_WorkCenterTable
	{
		public const string TABLE_NAME = "MST_WorkCenter";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string NAME_FLD = "Name";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string ISMAIN_FLD = "IsMain";
	}
	public sealed class MST_WorkCenterCapacityTable
	{
		public const string TABLE_NAME = "MST_WorkCenterCapacity";
		public const string WORKCENTERCAPACITYID_FLD = "WorkCenterCapacityID";
		public const string EFFECTIVEBEGINDATE_FLD = "EffectiveBeginDate";
		public const string LABORHOURSPERDAY_FLD = "LaborHoursPerday";
		public const string EFFECTIVEENDDATE_FLD = "EffectiveEndDate";
		public const string CREWSIZE_FLD = "CrewSize";
		public const string LABORSHIFT_FLD = "LaborShift";
		public const string LABOREFFICIENCYFACTOR_FLD = "LaborEfficiencyFactor";
		public const string MACHINEHOURSPERDAY_FLD = "MachineHoursPerday";
		public const string MACHINEQTY_FLD = "MachineQty";
		public const string MACHINESHIFT_FLD = "MachineShift";
		public const string MACHINEEFFICIENCYFACTOR_FLD = "MachineEfficiencyFactor";
	}

	public sealed class MST_AddChargeTable
	{
		public const string TABLE_NAME = "MST_AddCharge";
		public const string ADDCHARGEID_FLD = "AddChargeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string VAT_FLD = "VAT";
	}

	public sealed class MST_PartyTable
	{
		public const string TABLE_NAME = "MST_Party";
		public const string PARTYID_FLD = "PartyID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string ADDRESS_FLD = "Address";
		public const string WEBSITE_FLD = "WebSite";
		public const string STATE_FLD = "State";
		public const string DELETEREASON_FLD = "DeleteReason";
		public const string TYPE_FLD = "Type";
		public const string ZIPPOST_FLD = "ZipPost";
		public const string MAPBANKACCOUNTNO_FLD = "MAPBankAccountNo";
		public const string MAPBANKACCOUNTNAME_FLD = "MAPBankAccountName";
		public const string VATCODE_FLD = "VATCode";
		public const string COUNTRYID_FLD = "CountryID";
		public const string CITYID_FLD = "CityID";
		public const string PHONE_FLD = "Phone";
		public const string FAX_FLD = "Fax";
		public const string BANKACCOUNT_FLD = "BankAccount";

	}

	public sealed class MST_PartyContactTable
	{
		public const string TABLE_NAME = "MST_PartyContact";
		public const string PARTYCONTACTID_FLD = "PartyContactID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string TITLE_FLD = "Title";
		public const string MEMO_FLD = "Memo";
		public const string FAX_FLD = "Fax";
		public const string PHONE_FLD = "Phone";
		public const string EMAIL_FLD = "Email";
		public const string EXT_FLD = "Ext";
		public const string PARTYLOCATIONID_FLD = "PartyLocationID";
		public const string PARTYID_FLD = "PartyID";
	}
	public sealed class MST_PartyLocationTable
	{
		public const string TABLE_NAME = "MST_PartyLocation";
		public const string PARTYLOCATIONID_FLD = "PartyLocationID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string DELETEREASON_FLD = "DeleteReason";
		public const string ADDRESS_FLD = "Address";
		public const string CITYID_FLD = "CityID";
		public const string STATE_FLD = "State";
		public const string ZIPPOST_FLD = "ZipPost";
		public const string PARTYID_FLD = "PartyID";
		public const string COUNTRYID_FLD = "CountryID";
	}

	//Production Management


	public sealed class MST_FunctionTable
	{
		public const string TABLE_NAME = "MST_Function";
		public const string FUNCTIONID_FLD = "FunctionID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	
	
	
	public sealed class PRO_AOScrapCostTable
	{
		public const string TABLE_NAME = "PRO_AOScrapCost";
		public const string AOSCRAPCOSTID_FLD = "AOScrapCostID";
		public const string UNITCOST01_FLD = "UnitCost01";
		public const string UNITCOST02_FLD = "UnitCost02";
		public const string UNITCOST03_FLD = "UnitCost03";
		public const string UNITCOST04_FLD = "UnitCost04";
		public const string UNITCOST05_FLD = "UnitCost05";
		public const string UNITCOST06_FLD = "UnitCost06";
		public const string UNITCOST07_FLD = "UnitCost07";
		public const string UNITCOST08_FLD = "UnitCost08";
		public const string UNITCOST09_FLD = "UnitCost09";
		public const string UNITCOST10_FLD = "UnitCost10";
		public const string UNITCOST11_FLD = "UnitCost11";
		public const string UNITCOST12_FLD = "UnitCost12";
		public const string UNITCOST13_FLD = "UnitCost13";
		public const string UNITCOST14_FLD = "UnitCost14";
		public const string UNITCOST15_FLD = "UnitCost15";
		public const string UNITCOST16_FLD = "UnitCost16";
		public const string UNITCOST17_FLD = "UnitCost17";
		public const string UNITCOST18_FLD = "UnitCost18";
		public const string UNITCOST19_FLD = "UnitCost19";
		public const string UNITCOST20_FLD = "UnitCost20";
		public const string UNITCOST21_FLD = "UnitCost21";
		public const string AOCOST01_FLD = "AOCost01";
		public const string AOCOST02_FLD = "AOCost02";
		public const string AOCOST03_FLD = "AOCost03";
		public const string AOCOST04_FLD = "AOCost04";
		public const string AOCOST05_FLD = "AOCost05";
		public const string AOCOST06_FLD = "AOCost06";
		public const string AOCOST07_FLD = "AOCost07";
		public const string AOCOST08_FLD = "AOCost08";
		public const string AOCOST09_FLD = "AOCost09";
		public const string AOCOST10_FLD = "AOCost10";
		public const string AOCOST11_FLD = "AOCost11";
		public const string AOCOST12_FLD = "AOCost12";
		public const string AOCOST13_FLD = "AOCost13";
		public const string AOCOST14_FLD = "AOCost14";
		public const string AOCOST15_FLD = "AOCost15";
		public const string AOCOST16_FLD = "AOCost16";
		public const string AOCOST17_FLD = "AOCost17";
		public const string AOCOST18_FLD = "AOCost18";
		public const string AOCOST19_FLD = "AOCost19";
		public const string AOCOST20_FLD = "AOCost20";
		public const string AOCOST21_FLD = "AOCost21";
		public const string AOSCRAPDETAILID_FLD = "AOScrapDetailID";
	}
	public sealed class PRO_AOScrapDetailTable
	{
		public const string TABLE_NAME = "PRO_AOScrapDetail";
		public const string AOSCRAPDETAILID_FLD = "AOScrapDetailID";
		public const string SCRAPQUANTITY_FLD = "ScrapQuantity";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string LINE_FLD = "Line";
		public const string SCRAPREASONID_FLD = "ScrapReasonID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string AOSCRAPMASTERID_FLD = "AOScrapMasterID";
		public const string STOCKUMID_FLD = "StockUMID";
	}
	public sealed class PRO_AOScrapMasterTable
	{
		public const string TABLE_NAME = "PRO_AOScrapMaster";
		public const string AOSCRAPMASTERID_FLD = "AOScrapMasterID";
		public const string SCRAPNO_FLD = "ScrapNo";
		public const string POSTDATE_FLD = "PostDate";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}
	public sealed class PRO_CompletionStdCostTable
	{
		public const string TABLE_NAME = "PRO_CompletionStdCost";
		public const string COMPLETIONSTDCOSTID_FLD = "CompletionStdCostID";
		public const string POSTDATE_FLD = "PostDate";
		public const string TRANSTYPE_FLD = "TransType";
		public const string WORKORDERCOMPLETIONID_FLD = "WorkOrderCompletionID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string COSTMATERIAL01_FLD = "CostMaterial01";
		public const string COSTMATERIALOVERHEAD02_FLD = "CostMaterialOverHead02";
		public const string COSTMACHINESETUP03_FLD = "CostMachineSetup03";
		public const string COSTMACHINESETUPFIXED04_FLD = "CostMachineSetupFixed04";
		public const string COSTMACHINESETUPVAR05_FLD = "CostMachineSetupVar05";
		public const string COSTMACHINERUN06_FLD = "CostMachineRun06";
		public const string COSTMACHINEFIXED07_FLD = "CostMachineFixed07";
		public const string COSTMACHINEVARIABLE08_FLD = "CostMachineVariable08";
		public const string COSTLABORSETUP09_FLD = "CostLaborSetup09";
		public const string COSTLABORSETUPFIXED10_FLD = "CostLaborSetupFixed10";
		public const string COSTLABORSETUPVARIABLE11_FLD = "CostLaborSetupVariable11";
		public const string COSTLABORRUN12_FLD = "CostLaborRun12";
		public const string COSTLABORFIXED13_FLD = "CostLaborFixed13";
		public const string COSTLABORVARIABLE14_FLD = "CostLaborVariable14";
		public const string COSTOUTSIDEPROC15_FLD = "CostOutsideProc15";
		public const string COSTASSEMBLYSCRAP16_FLD = "CostAssemblyScrap16";
		public const string COSTSHRINK17_FLD = "CostShrink17";
		public const string COSTFREIGHT18_FLD = "CostFreight18";
		public const string COSTUSERSTANDARD1_19_FLD = "CostUserStandard1_19";
		public const string COSTUSERSTANDARD2_20_FLD = "CostUserStandard2_20";
		public const string COSTTOTALAMOUNT21_FLD = "CostTotalAmount21";
	}
	public sealed class PRO_ComponentScrapDetailTable
	{
		public const string TABLE_NAME = "PRO_ComponentScrapDetail";
		public const string COMPONENTSCRAPDETAILID_FLD = "ComponentScrapDetailID";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string SCRAPQUANTITY_FLD = "ScrapQuantity";
		public const string COMPONENTSCRAPMASTERID_FLD = "ComponentScrapMasterID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string COMPONENTID_FLD = "ComponentID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string LINE_FLD = "Line";
		public const string SCRAPREASONID_FLD = "ScrapReasonID";
		public const string WOROUTINGID_FLD = "WORoutingID";
	}
	public sealed class PRO_ComponentScrapMasterTable
	{
		public const string TABLE_NAME = "PRO_ComponentScrapMaster";
		public const string COMPONENTSCRAPMASTERID_FLD = "ComponentScrapMasterID";
		public const string SCRAPNO_FLD = "ScrapNo";
		public const string POSTDATE_FLD = "PostDate";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}


	public sealed class PRO_DCPCOptionTable
	{
		public const string TABLE_NAME = "PRO_DCPCOption";
		public const string DCPCOPTIONID_FLD = "DCPCOptionID";
		public const string MPSCYCLEID_FLD = "MPSCycleID";
		public const string MRPCYCLEID_FLD = "MRPCycleID";
		public const string ASOFDATE_FLD = "AsOfDate";
		public const string CYCLE_FLD = "Cycle";
		public const string DESCRIPTION_FLD = "Description";
		public const string LASTUPDATE_FLD = "LastUpdate";
		public const string PLANHORIZON_FLD = "PlanHorizon";
		public const string AVERAGESCHEDULE_FLD = "AverageSchedule";
		public const string FINITESCHEDULE_FLD = "FiniteSchedule";
		public const string WORKORDERID_FLD = "WorkOrderID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string CCNID_FLD = "CCNID";
	}
	public sealed class PRO_DispatchDetailTable
	{
		public const string TABLE_NAME = "PRO_DispatchDetail";
		public const string DISPATCHDETAILID_FLD = "DispatchDetailID";
		public const string STARTDATETIME_FLD = "StartDateTime";
		public const string ENDDATETIME_FLD = "EndDateTime";
		public const string SHIFTID_FLD = "ShiftID";
		public const string COMPLETEDQUANTITY_FLD = "CompletedQuantity";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string LABORSETUPID_FLD = "LaborSetupID";
		public const string MACHINESETUPID_FLD = "MachineSetupID";
		public const string LABORRUNID_FLD = "LaborRunID";
		public const string MACHINERUNID_FLD = "MachineRunID";
		public const string LABORLOADID_FLD = "LaborLoadID";
		public const string RECEIVERID_FLD = "ReceiverID";
		public const string TRANSFERID_FLD = "TransferID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string DISPATCHMASTERID_FLD = "DispatchMasterID";
		public const string MACHINELOADID_FLD = "MachineLoadID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string INQUANTITY_FLD = "InQuantity";
		public const string WORKCENTERID_FLD = "WorkCenterID";
	}
	public sealed class PRO_DispatchMasterTable
	{
		public const string TABLE_NAME = "PRO_DispatchMaster";
		public const string DISPATCHMASTERID_FLD = "DispatchMasterID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";	
	}
	public sealed class PRO_IssueMaterialDetailTable
	{
		public const string TABLE_NAME = "PRO_IssueMaterialDetail";
		public const string ISSUEMATERIALDETAILID_FLD = "IssueMaterialDetailID";
		public const string LINE_FLD = "Line";
		public const string COMMITQUANTITY_FLD = "CommitQuantity";
		public const string PRODUCTID_FLD = "ProductID";
		public const string ISSUEMATERIALMASTERID_FLD = "IssueMaterialMasterID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string QASTATUS_FLD = "QAStatus";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string AVAILABLEQUANTITY_FLD = "AvailableQuantity";
	}
	public sealed class PRO_IssueMaterialMasterTable
	{
		public const string TABLE_NAME = "PRO_IssueMaterialMaster";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string ISSUEMATERIALMASTERID_FLD = "IssueMaterialMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string ISSUENO_FLD = "IssueNo";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string TOLOCATIONID_FLD = "ToLocationID";
		public const string TOBINID_FLD = "ToBinID";
		public const string ISSUEPURPOSEID_FLD = "IssuePurposeID";    
		public const string SHIFTID_FLD = "ShiftID";    
	}

	public sealed class PRO_IssuePurposeTable
	{
		public const string TABLE_NAME = "PRO_IssuePurpose";
		public const string ISSUEPURPOSEID_FLD = "IssuePurposeID";
		public const string DESCRIPTION_FLD = "Description";
		public const string TRANTYPEID_FLD = "TranTypeID";
		public const string HASDESTIONATION_FLD = "HasDestination";
		public const string CODE_FLD = "Code";
	} 

	public sealed class PRO_IssueStdCostTable
	{
		public const string TABLE_NAME = "PRO_IssueStdCost";
		public const string ISSUESTDCOSTID_FLD = "IssueStdCostID";
		public const string POSTDATE_FLD = "PostDate";
		public const string TRANSTYPE_FLD = "TransType";
		public const string COSTMATERIAL01_FLD = "CostMaterial01";
		public const string COSTMATERIALOVERHEAD02_FLD = "CostMaterialOverHead02";
		public const string COSTMACHINESETUP03_FLD = "CostMachineSetup03";
		public const string COSTMACHINESETUPFIXED04_FLD = "CostMachineSetupFixed04";
		public const string COSTMACHINESETUPVAR05_FLD = "CostMachineSetupVar05";
		public const string COSTMACHINERUN06_FLD = "CostMachineRun06";
		public const string COSTMACHINEFIXED07_FLD = "CostMachineFixed07";
		public const string COSTMACHINEVARIABLE08_FLD = "CostMachineVariable08";
		public const string COSTLABORSETUP09_FLD = "CostLaborSetup09";
		public const string COSTLABORSETUPFIXED10_FLD = "CostLaborSetupFixed10";
		public const string COSTLABORSETUPVARIABLE11_FLD = "CostLaborSetupVariable11";
		public const string COSTLABORRUN12_FLD = "CostLaborRun12";
		public const string COSTLABORFIXED13_FLD = "CostLaborFixed13";
		public const string COSTLABORVARIABLE14_FLD = "CostLaborVariable14";
		public const string COSTOUTSIDEPROC15_FLD = "CostOutsideProc15";
		public const string COSTASSEMBLYSCRAP16_FLD = "CostAssemblyScrap16";
		public const string COSTSHRINK17_FLD = "CostShrink17";
		public const string COSTFREIGHT18_FLD = "CostFreight18";
		public const string COSTUSERSTANDARD1_19_FLD = "CostUserStandard1_19";
		public const string COSTUSERSTANDARD2_20_FLD = "CostUserStandard2_20";
		public const string COSTTOTALAMOUNT21_FLD = "CostTotalAmount21";
		public const string ISSUEMATERIALDETAILID_FLD = "IssueMaterialDetailID";
	}
	public sealed class PRO_LaborTimeDetailTable
	{
		public const string TABLE_NAME = "PRO_LaborTimeDetail";
		public const string LABORTIMEDETAILID_FLD = "LaborTimeDetailID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string EMPLOYEEID_FLD = "EmployeeID";
		public const string STARTDATETIME_FLD = "StartDateTime";
		public const string ENDDATETIME_FLD = "EndDateTime";
		public const string HOUR_FLD = "Hour";
		public const string SHIFTID_FLD = "ShiftID";
		public const string HOURCODE_FLD = "HourCode";
		public const string SETUPRUN_FLD = "SetupRun";
		public const string QUANTITY_FLD = "Quantity";
		public const string COMPLETED_FLD = "Completed";
		public const string COMPLETEPERCENT_FLD = "CompletePercent";
		public const string LABORCOSTCENTERID_FLD = "LaborCostCenterID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string LABORTIMEMASTERID_FLD = "LaborTimeMasterID";
	}
	public sealed class PRO_LaborTimeMasterTable
	{
		public const string TABLE_NAME = "PRO_LaborTimeMaster";
		public const string LABORTIMEMASTERID_FLD = "LaborTimeMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string TRANSNO_FLD = "TransNo";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}
	public sealed class PRO_MachineTable
	{
		public const string TABLE_NAME = "PRO_Machine";
		public const string MACHINEID_FLD = "MachineID";
		public const string CODE_FLD = "Code";
		public const string MACHINENAME_FLD = "MachineName";
	}
	public sealed class PRO_MachineTimeDetailTable
	{
		public const string TABLE_NAME = "PRO_MachineTimeDetail";
		public const string MACHINETIMEDETAILID_FLD = "MachineTimeDetailID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string STARTDATETIME_FLD = "StartDateTime";
		public const string ENDDATETIME_FLD = "EndDateTime";
		public const string HOUR_FLD = "Hour";
		public const string SETUPRUN_FLD = "SetupRun";
		public const string QUANTITY_FLD = "Quantity";
		public const string COMPLETEPERCENT_FLD = "CompletePercent";
		public const string COMPLETED_FLD = "Completed";
		public const string MACHINETIMEMASTERID_FLD = "MachineTimeMasterID";
		public const string SHIFTID_FLD = "ShiftID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string MACHINEID_FLD = "MachineID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
	}
	public sealed class PRO_MachineTimeMasterTable
	{
		public const string TABLE_NAME = "PRO_MachineTimeMaster";
		public const string MACHINETIMEMASTERID_FLD = "MachineTimeMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string TRANSNO_FLD = "TransNo";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}
	public sealed class PRO_OperationTable
	{
		public const string TABLE_NAME = "PRO_Operation";
		public const string OPERATIONID_FLD = "OperationID";
		public const string NAME_FLD = "Name";
		public const string DESCRIPTION_FLD = "Description";
		public const string WORKORDER_FLD = "WorkOrder";
		public const string WORKODERLINE_FLD = "WorkOderLine";
	}
	public sealed class PRO_OperationStatusTable
	{
		public const string TABLE_NAME = "PRO_OperationStatus";
		public const string OPERATIONSTATUSID_FLD = "OperationStatusID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
	}
	public sealed class PRO_OutsideProcessingDetailTable
	{
		public const string TABLE_NAME = "PRO_OutsideProcessingDetail";
		public const string OUTSIDEPRCESSINGDETAILID_FLD = "OutsidePrcessingDetailID";
		public const string OUTSIDEPROCESSINGMASTERID_FLD = "OutsideProcessingMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string INVOICENO_FLD = "InvoiceNo";
		public const string INVOICEAMOUNT_FLD = "InvoiceAmount";
		public const string QUANTITY_FLD = "Quantity";
		public const string COMPLETEPERCENT_FLD = "CompletePercent";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string VENDORID_FLD = "VendorID";
		public const string PARTYLOCATIONID_FLD = "PartyLocationID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string COMPLETED_FLD = "Completed";
	}
	public sealed class PRO_OutsideProcessingMasterTable
	{
		public const string TABLE_NAME = "PRO_OutsideProcessingMaster";
		public const string OUTSIDEPROCESSINGMASTERID_FLD = "OutsideProcessingMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string TRANSNO_FLD = "TransNo";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}
	public sealed class PRO_ScrapReasonTable
	{
		public const string TABLE_NAME = "PRO_ScrapReason";
		public const string SCRAPREASONID_FLD = "ScrapReasonID";
		public const string SCRAPREASONDESC_FLD = "ScrapReasonDesc";
	}
	public sealed class PRO_ShiftTable
	{
		public const string TABLE_NAME = "PRO_Shift";
		public const string SHIFTID_FLD = "ShiftID";
		public const string SHIFTDESC_FLD = "ShiftDesc";
	}
	public sealed class PRO_WorkOrderBomDetailTable
	{
		public const string TABLE_NAME = "PRO_WorkOrderBomDetail";
		public const string WORKORDERBOMDETAILID_FLD = "WorkOrderBomDetailID";
		public const string COMPONENTID_FLD = "ComponentID";
		public const string REQUIREDQUANTITY_FLD = "RequiredQuantity";
		public const string SHRINK_FLD = "Shrink";
		public const string LEADTIMEOFFSET_FLD = "LeadTimeOffset";
		public const string OPERATIONID_FLD = "OperationID";
		public const string WORKORDERBOMMASTERID_FLD = "WorkOrderBomMasterID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string LINE_FLD = "Line";

	}
	public sealed class PRO_WorkOrderBomMasterTable
	{
		public const string TABLE_NAME = "PRO_WorkOrderBomMaster";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";	
		public const string WORKORDERBOMMASTERID_FLD = "WorkOrderBomMasterID";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string INCREMENT_FLD = "Increment";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class PRO_WorkOrderCompletionTable
	{
		public const string TABLE_NAME = "PRO_WorkOrderCompletion";
		public const string WORKORDERCOMPLETIONID_FLD = "WorkOrderCompletionID";
		public const string POSTDATE_FLD = "PostDate";
		public const string WOCOMPLETIONDAT_FLD = "CompletedDate";	
		public const string WOCOMPLETIONNO_FLD = "WOCompletionNo";
		public const string COMPLETEDQUANTITY_FLD = "CompletedQuantity";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string QASTATUS_FLD = "QAStatus";
		public const string REMARK_FLD = "Remark";
		public const string SHIFTID_FLD = "ShiftID";
		public const string ISSUEPURPOSEID_FLD = "IssuePurposeID";
	}

	public sealed class PRO_WorkOrderDetailTable
	{
		public const string TABLE_NAME = "PRO_WorkOrderDetail";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string LINE_FLD = "Line";
		public const string ORDERQUANTITY_FLD = "OrderQuantity";
		public const string MFGCLOSEDATE_FLD = "MfgCloseDate";
		public const string DUEDATE_FLD = "DueDate";
		public const string STARTDATE_FLD = "StartDate";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PRIORITY_FLD = "Priority";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string AGC_FLD = "AGC";
		public const string ESTCST_FLD = "EstCst";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string FINCLOSEDATE_FLD = "FinCloseDate";
		public const string STATUS_FLD = "Status";
		public const string INCREMENT_FLD = "Increment";
		public const string DESCRIPTION_FLD = "Description";

	}
	public sealed class PRO_WorkOrderMasterTable
	{
		public const string TABLE_NAME = "PRO_WorkOrderMaster";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string DESCRIPTION_FLD = "Description";
		public const string CCNID_FLD = "CCNID";
		public const string WORKORDERNO_FLD = "WorkOrderNo";
		public const string TRANSDATE_FLD = "TransDate";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string DCOPTIONMASTERID_FLD = "DCOptionMasterID";
	}
	public sealed class PRO_WorkingTime
	{
		public const string TABLE_NAME = "PRO_WorkingTime";
		public const string WORKINGTIMEID_FLD = "WorkingTimeID";
		public const string YEARSETUP_FLD = "YearSetUp";
		public const string MONTHSETUP_FLD = "MonthSetUp";
		public const string STARTTIME_FLD = "StartTime";
		public const string ENDTIME_FLD = "EndTime";
		public const string WORKINGHOURS_FLD = "WorkingHours";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
	}
	public sealed class PRO_WORoutingTable
	{
		public const string TABLE_NAME = "PRO_WORouting";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string STEP_FLD = "Step";
		public const string TYPE_FLD = "Type";
		public const string MACHINESETUPTIME_FLD = "MachineSetupTime";
		public const string MACHINERUNTIME_FLD = "MachineRunTime";
		public const string MACHINES_FLD = "Machines";
		public const string LABORRUNTIME_FLD = "LaborRunTime";
		public const string LABORSETUPTIME_FLD = "LaborSetupTime";
		public const string CREWSIZE_FLD = "CrewSize";
		public const string SETUPQUANTITY_FLD = "SetupQuantity";
		public const string STUDYTIME_FLD = "StudyTime";
		public const string MOVETIME_FLD = "MoveTime";
		public const string LABORCOSTCENTERID_FLD = "LaborCostCenterID";
		public const string MACHINECOSTCENTERID_FLD = "MachineCostCenterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string FUNCTIONID_FLD = "FunctionID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string EFFECTBEGINDATE_FLD = "EffectBeginDate";
		public const string EFFECTENDDATE_FLD = "EffectEndDate";
		public const string OSVARLT_FLD = "OSVarLT";
		public const string OSFIXLT_FLD = "OSFixLT";
		public const string OSOVERLAPPERCENT_FLD = "OSOverlapPercent";
		public const string OSOVERLAPQTY_FLD = "OSOverlapQty";
		public const string OSSCHEDULESEQ_FLD = "OSScheduleSeq";
		public const string OSCOST_FLD = "OSCost";
		public const string OVERLAPPERCENT_FLD = "OverlapPercent";
		public const string OVERLAPQTY_FLD = "OverlapQty";
		public const string SCHEDULESEQ_FLD = "ScheduleSeq";
		public const string VARLT_FLD = "VarLT";
		public const string FIXLT_FLD = "FixLT";
		public const string ROUTINGSTATUSID_FLD = "RoutingStatusID";
		public const string RUNQUANTITY_FLD = "RunQuantity";
		public const string PARTYID_FLD = "PartyID";
		public const string PACER_FLD = "Pacer";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
	}
	public sealed class PRO_WOScheduleDetailTable
	{
		public const string TABLE_NAME = "PRO_WOScheduleDetail";
		public const string WOSCHEDULEMASTERID_FLD = "WOScheduleMasterID";
		public const string WOSCHEDULEDETAILID_FLD = "WOScheduleDetailID";
		public const string STARTDATETIME_FLD = "StartDateTime";
		public const string ENDDATETIME_FLD = "EndDateTime";
		public const string COMMENTS_FLD = "Comments";
		public const string SHIFTID_FLD = "ShiftID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string TYPE_FLD = "Type";
		public const string FUNCTIONID_FLD = "FunctionID";
	}
	public sealed class PRO_WOScheduleMasterTable
	{
		public const string TABLE_NAME = "PRO_WOScheduleMaster";
		public const string WOSCHEDULEMASTERID_FLD = "WOScheduleMasterID";
		public const string STARTDATE_FLD = "StartDate";
		public const string ENDDATE_FLD = "EndDate";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string PRIORITY_FLD = "Priority";
		public const string PRODUCTID_FLD = "ProductID";
		public const string SCHEDULECODE_FLD = "ScheduleCode";
		public const string STOCKUMID_FLD = "StockUMID";
	}


	//Materials

	//Inventory
	public sealed class IV_AdjustmentTable
	{
		public const string TABLE_NAME = "IV_Adjustment";
		public const string BINID_FLD = "BinID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string ADJUSTMENTID_FLD = "AdjustmentID";
		public const string POSTDATE_FLD = "PostDate";
		public const string COMMENT_FLD = "Comment";
		public const string CCNID_FLD = "CCNID";
		public const string TRANSNO_FLD = "TransNo";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string SERIAL_FLD = "Serial";
		public const string ADJUSTQUANTITY_FLD = "AdjustQuantity";
		public const string LOT_FLD = "Lot";
		public const string AVAILABLEQTY_FLD = "AvailableQty";
	}

	public sealed class IV_BinCacheTable
	{
		public const string TABLE_NAME = "IV_BinCache";
		public const string BINCACHEID_FLD = "BinCacheID";
		public const string OHQUANTITY_FLD = "OHQuantity";
		public const string COMMITQUANTITY_FLD = "CommitQuantity";
		public const string DEMANQUANTITY_FLD = "DemanQuantity";
		public const string SUPPLYQUANTITY_FLD = "SupplyQuantity";
		public const string LOT_FLD = "Lot";
		public const string INSPSTATUS_FLD = "InspStatus";
		public const string BINID_FLD = "BinID";
		public const string CCNID_FLD = "CCNID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string PRODUCTID_FLD = "ProductID";
	}
	public sealed class IV_CostHistoryTable
	{
		public const string TABLE_NAME = "IV_CostHistory";
		public const string COSTHISTORYID_FLD = "CostHistoryID";
		public const string COSTHISTORYSEQ_FLD = "CostHistorySeq";
		public const string ICDHITEMCOST21_FLD = "ICDHItemCost21";
		public const string RECEIVEDATE_FLD = "ReceiveDate";
		public const string RECEIVEREF_FLD = "ReceiveRef";
		public const string RECEIVEREFLINE_FLD = "ReceiveRefLine";
		public const string QASTATUS_FLD = "QAStatus";
		public const string PARTYID_FLD = "PartyID";
		public const string PARTYLOCATIONID_FLD = "PartyLocationID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CCNID_FLD = "CCNID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string TRANTYPEID_FLD = "TranTypeID";
	}
	public sealed class IV_DockToStockTable
	{
		public const string TABLE_NAME = "IV_DockToStock";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string ACCEPTLOCID_FLD = "AcceptLocID";
		public const string REJECTLOCID_FLD = "RejectLocID";
		public const string REWORKMFGLOCID_FLD = "ReworkMfgLocID";
		public const string RTVLOCID_FLD = "RTVLocID";
		public const string RTVREWORKLOCID_FLD = "RTVReworkLocID";
		public const string RTVREPLACELOCID_FLD = "RTVReplaceLocID";
		public const string SCRAPLOCID_FLD = "ScrapLocID";
		public const string USEASISLOCID_FLD = "UseAsIsLocID";
		public const string PURSQALOCID_FLD = "PurSQALocID";
		public const string PURNONSQALOCID_FLD = "PurNonSQALocID";
		public const string PURNONSQAINSLOCID_FLD = "PurNonSQAInsLocID";
		public const string PURLINEINSLOCID_FLD = "PurLineInsLocID";
		public const string MFGSQALOCID_FLD = "MfgSQALocID";
		public const string MFGNONSQALOCID_FLD = "MfgNonSQALocID";
		public const string MFGNONSQAINSLOCID_FLD = "MfgNonSQAInsLocID";
		public const string MFGLINEINSLOCID_FLD = "MfgLineInsLocID";
		public const string PACKINGLOCID_FLD = "PackingLocID";
		public const string DOCKTOSTOCKID_FLD = "DockToStockID";
		public const string CCNID_FLD = "CCNID";
		public const string PACKINGBINID_FLD = "PackingBinID";
	}

	public sealed class IV_ItemDetailTable
	{
		public const string TABLE_NAME = "IV_ItemDetail";
		public const string ITEMDETAILID_FLD = "ItemDetailID";
		public const string OHQUANTITY_FLD = "OHQuantity";
		public const string INSPSTATUS_FLD = "InspStatus";
		public const string MRBDISPLAY_FLD = "MRBDisplay";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
	}

	public sealed class IV_ItemSerialTable
	{
		public const string TABLE_NAME = "IV_ItemSerial";
		public const string ITEMSERIALID_FLD = "ItemSerialID";
		public const string LOT_FLD = "Lot";
		public const string QASTATUS_FLD = "QAStatus";
		public const string REFNO_FLD = "RefNo";
		public const string REFLINE_FLD = "RefLine";
		public const string INSPSTATUS_FLD = "InspStatus";
		public const string MRBDISPLAY_FLD = "MRBDisplay";
		public const string REMAIN_FLD = "Remain";
		public const string SERIAL_FLD = "Serial";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string TRANTYPEID_FLD = "TranTypeID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}
	public sealed class IV_LocationCacheTable
	{
		public const string TABLE_NAME = "IV_LocationCache";
		public const string LOCATIONCACHEID_FLD = "LocationCacheID";
		public const string OHQUANTITY_FLD = "OHQuantity";
		public const string COMMITQUANTITY_FLD = "CommitQuantity";
		public const string DEMANQUANTITY_FLD = "DemanQuantity";
		public const string SUPPLYQUANTITY_FLD = "SupplyQuantity";
		public const string LOT_FLD = "Lot";
		public const string INSPSTATUS_FLD = "InspStatus";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}
	/*
	public sealed class IV_LocToLocTransferTable
	{
		public const string TABLE_NAME = "IV_LocToLocTransfer";
		public const string LOCTOLOCTRANSFERID_FLD = "LocToLocTransferID";
		public const string POSTDATE_FLD = "PostDate";
		public const string DESCRIPTION_FLD = "Description";
		public const string CCNID_FLD = "CCNID";
		public const string DESBINID_FLD = "DesBinID";
		public const string SOURCEBINID_FLD = "SourceBinID";
		public const string SOURCELOCATIONID_FLD = "SourceLocationID";
		public const string DESLOCATIONID_FLD = "DesLocationID";
		public const string SOURCEMASLOCATIONID_FLD = "SourceMasLocationID";
		public const string DESMASLOCATIONID_FLD = "DesMasLocationID";
	}
*/

	public sealed class IV_LocToLocTransferMasterTable
	{
		public const string TABLE_NAME = "IV_LocToLocTransferMaster";
		public const string LOCTOLOCTRANSFERMASTERID_FLD = "LocToLocTransferMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string COMMENT_FLD = "Comment";
		public const string CCNID_FLD = "CCNID";
		public const string DESBINID_FLD = "DesBinID";
		public const string SOURCEBINID_FLD = "SourceBinID";
		public const string SOURCELOCATIONID_FLD = "SourceLocationID";
		public const string DESLOCATIONID_FLD = "DesLocationID";
		public const string SOURCEMASLOCATIONID_FLD = "SourceMasLocationID";
		public const string DESMASLOCATIONID_FLD = "DesMasLocationID";
		public const string TRANSNO_FLD = "TransNo";
	}

	/*

		public sealed class IV_LocToLocTransferDetailTable
		{
			public const string TABLE_NAME = "IV_LocToLocTransferDetail";
			public const string LOCTOLOCTRANSFERDETAILID_FLD = "LocToLocTransferDetailID";
			public const string LOCTOLOCTRANSFERID_FLD = "LocToLocTransferID";
			public const string TRANSFERQUANTITY_FLD = "TransferQuantity";
			public const string PRODUCTID_FLD = "ProductID";
			public const string LOT_FLD = "Lot";
			public const string SERIAL_FLD = "Serial";
			public const string QASTATUS_FLD = "QAStatus";
		}
	*/
	public sealed class IV_LocToLocTransferDetailTable
	{
		public const string TABLE_NAME = "IV_LocToLocTransferDetail";
		public const string LOCTOLOCTRANSFERDETAILID_FLD = "LocToLocTransferDetailID";
		public const string TRANSFERQUANTITY_FLD = "TransferQuantity";
		public const string PRODUCTID_FLD = "ProductID";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string QASTATUS_FLD = "QAStatus";
		public const string LOCTOLOCTRANSFERMASTERID_FLD = "LocToLocTransferMasterID";
		public const string STOCKUMID_FLD = "StockUMID";
	}


	public sealed class IV_LotFIFOTable
	{
		public const string TABLE_NAME = "IV_LotFIFO";
		public const string LOTFIFOID_FLD = "LotFIFOID";
		public const string ACTUALCOST21_FLD = "ActualCost21";
		public const string COSTUPDATE_FLD = "CostUpdate";
		public const string LOT_FLD = "Lot";
		public const string LOTSEQUENCE_FLD = "LotSequence";
		public const string RECEIVEDATE_FLD = "ReceiveDate";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CCNID_FLD = "CCNID";
	}

	public sealed class IV_MasLocCacheTable
	{
		public const string TABLE_NAME = "IV_MasLocCache";
		public const string MASLOCCACHEID_FLD = "MasLocCacheID";
		public const string OHQUANTITY_FLD = "OHQuantity";
		public const string COMMITQUANTITY_FLD = "CommitQuantity";
		public const string DEMANQUANTITY_FLD = "DemanQuantity";
		public const string SUPPLYQUANTITY_FLD = "SupplyQuantity";
		public const string LOT_FLD = "Lot";
		public const string INSPSTATUS_FLD = "InspStatus";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string AVGCOST_FLD = "AVGCost";
		public const string SUMMITEMCOST21_FLD = "SummItemCost21";
		public const string PRODUCTID_FLD = "ProductID";		
	}
	public sealed class IV_MaterialIssueTable
	{
		public const string TABLE_NAME = "IV_MaterialIssue";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MATERIALISSUEMASTERID_FLD = "MaterialIssueMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string CCNID_FLD = "CCNID";
		public const string TRANSNO_FLD = "TransNo";
		public const string COMMENT_FLD = "Comment";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string QASTATUS_FLD = "QAStatus";
		public const string ISSUETYPE_FLD = "IssueType";
		public const string ISSUEQUANTITY_FLD = "IssueQuantity";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
	}
	public sealed class IV_MaterialReceiptTable
	{
		public const string TABLE_NAME = "IV_MaterialReceipt";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MATERIALRECEIPTID_FLD = "MaterialReceiptID";
		public const string POSTDATE_FLD = "PostDate";
		public const string RECEIPTTYPE_FLD = "ReceiptType";
		public const string QUANTITY_FLD = "Quantity";
		public const string UNITCOST_FLD = "UnitCost";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string CCNID_FLD = "CCNID";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string TRANSNO_FLD = "TransNo";
		public const string DESCRIPTION_FLD = "Description";
		public const string QASTATUS_FLD = "QAStatus";
		public const string WORKORDERMASTERID_FLD = "WorkOrderMasterID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string PURCHASEORDERDETAILID_FLD = "PurchaseOrderDetailID";
	}
	public sealed class IV_MaterialScrapTable
	{
		public const string TABLE_NAME = "IV_MaterialScrap";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MATERIALSCRAPID_FLD = "MaterialScrapID";
		public const string POSTDATE_FLD = "PostDate";
		public const string COMMENT_FLD = "Comment";
		public const string PRODUCTID_FLD = "ProductID";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string CCNID_FLD = "CCNID";
		public const string TRANSNO_FLD = "TransNo";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string AVAILABLEQUANTITY_FLD = "AvailableQuantity";
		public const string SCRAPQUANTITY_FLD = "ScrapQuantity";
	}
	public sealed class IV_MoveSerialTable
	{
		public const string TABLE_NAME = "IV_MoveSerial";
		public const string MOVESERIALID_FLD = "MoveSerialID";
		public const string SERIAL_FLD = "Serial";
		public const string CCNID_FLD = "CCNID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MOVETICKETID_FLD = "MoveTicketID";
	}
	public sealed class IV_MoveTicketTable
	{
		public const string TABLE_NAME = "IV_MoveTicket";
		public const string MOVETICKETID_FLD = "MoveTicketID";
		public const string TRANSACTIONNO_FLD = "TransactionNo";
		public const string LOT_FLD = "Lot";
		public const string INSPECTSTATUS_FLD = "InspectStatus";
		public const string MRBDISPLAY_FLD = "MRBDisplay";
		public const string QUANTITY_FLD = "Quantity";
		public const string CREATIONDATE_FLD = "CreationDate";
		public const string CCNID_FLD = "CCNID";
		public const string XFRCCNID_FLD = "XFRCCNID";
		public const string BINID_FLD = "BinID";
		public const string XFRBINID_FLD = "XFRBinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string XFRLOCATIONID_FLD = "XFRLocationID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string XFRMASTERLOCATIONID_FLD = "XFRMasterLocationID";
		public const string TRANTYPEID_FLD = "TranTypeID";
	}
	public sealed class IV_MoveToInspectionDetailTable
	{
		public const string TABLE_NAME = "IV_MoveToInspectionDetail";
		public const string MOVETOINSPECTIONDETAILID_FLD = "MoveToInspectionDetailID";
		public const string INSPECTION_FLD = "Inspection";
		public const string MRP_FLD = "MRP";
		public const string TRANSFERQUANTITY_FLD = "TransferQuantity";
		public const string MOVETOINSPECTIONID_FLD = "MoveToInspectionID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string PRODUCTID_FLD = "ProductID";
	}
	public sealed class IV_MoveToInspectionMasterTable
	{
		public const string TABLE_NAME = "IV_MoveToInspectionMaster";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MOVETOINSPECTIONMASTERID_FLD = "MoveToInspectionMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string DESCRIPTION_FLD = "Description";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
	}

	/*

		public sealed class IV_MRBResultTable
		{
			public const string TABLE_NAME = "IV_MRBResult";
			public const string MASTERLOCATIONID_FLD = "MasterLocationID";
			public const string MRBRESULTID_FLD = "MRBResultID";
			public const string MRBNO_FLD = "MRBNo";
			public const string POSTDATE_FLD = "PostDate";
			public const string COMMENT_FLD = "Comment";
			public const string USEASISQUANTITY_FLD = "UseAsIsQuantity";
			public const string RTVQUANTITY_FLD = "RTVQuantity";
			public const string RTVREPLACEQUANTITY_FLD = "RTVReplaceQuantity";
			public const string RTVREWORKQUANTITY_FLD = "RTVReworkQuantity";
			public const string REWORKMFGQUANTITY_FLD = "ReworkMfgQuantity";
			public const string SCRAPQUANTITY_FLD = "ScrapQuantity";
			public const string USEASISBINID_FLD = "UseAsIsBinID";
			public const string RTVBINID_FLD = "RTVBinID";
			public const string RTVREPLACEBINID_FLD = "RTVReplaceBinID";
			public const string RTVREWORKBINID_FLD = "RTVReworkBinID";
			public const string REWORKMFGBINID_FLD = "ReworkMfgBinID";
			public const string SCRAPBINID_FLD = "ScrapBinID";
			public const string REWORKPURBINID_FLD = "ReworkPurBinID";
			public const string USEASISLOCID_FLD = "UseAsIsLocID";
			public const string RTVLOCID_FLD = "RTVLocID";
			public const string RTVREPLACELOCID_FLD = "RTVReplaceLocID";
			public const string RTVREWORKLOCID_FLD = "RTVReworkLocID";
			public const string REWORKMFGLOCID_FLD = "ReworkMfgLocID";
			public const string SCRAPLOCID_FLD = "ScrapLocID";
			public const string REWORKPURLOCID_FLD = "ReworkPurLocID";
			public const string UNITOFMEASUREID_FLD = "UnitOfMeasureID";
			public const string PRODUCTID_FLD = "ProductID";
		}
	*/
 
	public sealed class IV_MRBResultTable
	{
		public const string TABLE_NAME = "IV_MRBResult";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MRBRESULTID_FLD = "MRBResultID";
		public const string MRBNO_FLD = "MRBNo";
		public const string CCNID_FLD = "CCNID";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string POSTDATE_FLD = "PostDate";
		public const string COMMENT_FLD = "Comment";
		public const string USEASISQUANTITY_FLD = "UseAsIsQuantity";
		public const string RTVQUANTITY_FLD = "RTVQuantity";
		public const string RTVREPLACEQUANTITY_FLD = "RTVReplaceQuantity";
		public const string RTVREWORKQUANTITY_FLD = "RTVReworkQuantity";
		public const string REWORKPURQUANTITY_FLD = "ReworkPurQuantity";
		public const string REWORKMFGQUANTITY_FLD = "ReworkMfgQuantity";
		public const string SCRAPQUANTITY_FLD = "ScrapQuantity";
		public const string USEASISBINID_FLD = "UseAsIsBinID";
		public const string RTVBINID_FLD = "RTVBinID";
		public const string RTVREPLACEBINID_FLD = "RTVReplaceBinID";
		public const string RTVREWORKBINID_FLD = "RTVReworkBinID";
		public const string REWORKMFGBINID_FLD = "ReworkMfgBinID";
		public const string SCRAPBINID_FLD = "ScrapBinID";
		public const string REWORKPURBINID_FLD = "ReworkPurBinID";
		public const string USEASISLOCID_FLD = "UseAsIsLocID";
		public const string RTVLOCID_FLD = "RTVLocID";
		public const string RTVREPLACELOCID_FLD = "RTVReplaceLocID";
		public const string RTVREWORKLOCID_FLD = "RTVReworkLocID";
		public const string REWORKMFGLOCID_FLD = "ReworkMfgLocID";
		public const string SCRAPLOCID_FLD = "ScrapLocID";
		public const string REWORKPURLOCID_FLD = "ReworkPurLocID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string PRODUCTID_FLD = "ProductID";
	}






	/*
		public sealed class IV_INSResultTable
		{
			public const string TABLE_NAME = "IV_INSResult";
			public const string INSRESULTID_FLD = "InsResultID";
			public const string INSPECTNO_FLD = "InspectNo";
			public const string POSTDATE_FLD = "PostDate";
			public const string ACCEPTEDQUANTITY_FLD = "AcceptedQuantity";
			public const string REJECTEDQUANTITY_FLD = "RejectedQuantity";
			public const string SAMPLEQUANTITY_FLD = "SampleQuantity";
			public const string LOT_FLD = "Lot";
			public const string SERIAL_FLD = "Serial";
			public const string TRANTYPEID_FLD = "TranTypeID";
			public const string MASTERLOCATIONID_FLD = "MasterLocationID";
			public const string CCNID_FLD = "CCNID";
			public const string PRODUCTID_FLD = "ProductID";
			public const string INSPECTORID_FLD = "InspectorID";
			public const string LOCATIONID_FLD = "LocationID";
			public const string BINID_FLD = "BinID";
			public const string INSUMID_FLD = "InsUMID";
			public const string INSPECTIONSTATUS_FLD = "InspectionStatus";
		}
	*/
	public sealed class IV_INSResultTable
	{
		public const string TABLE_NAME = "IV_INSResult";
		public const string INSRESULTID_FLD = "InsResultID";
		public const string INSPECTNO_FLD = "InspectNo";
		public const string POSTDATE_FLD = "PostDate";
		public const string ACCEPTEDQUANTITY_FLD = "AcceptedQuantity";
		public const string REJECTEDQUANTITY_FLD = "RejectedQuantity";
		public const string SAMPLEQUANTITY_FLD = "SampleQuantity";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string TRANTYPEID_FLD = "TranTypeID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string INSPECTORID_FLD = "InspectorID";
		public const string ACCEPTEDLOCID_FLD = "AcceptedLocID";
		public const string REJECTEDLOCID_FLD = "RejectedLocID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string ACCEPTEDBINID_FLD = "AcceptedBinID";
		public const string REJECTEDBINID_FLD = "RejectedBinID";
		public const string BINID_FLD = "BinID";
		public const string INSUMID_FLD = "InsUMID";
		public const string INSPECTIONSTATUS_FLD = "InspectionStatus";
	}



	public sealed class IV_LotItemTable
	{
		public const string TABLE_NAME = "IV_LotItem";
		public const string LOTITEMID_FLD = "LotItemID";
		public const string RECEIVETIMES_FLD = "ReceiveTimes";
		public const string RECEIVEQUANTITY_FLD = "ReceiveQuantity";
		public const string LOT_FLD = "Lot";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string RETURNQUANTITY_FLD = "ReturnQuantity";
	}

	//Procurement
	public sealed class IV_StockTakingTable
	{
		public const string TABLE_NAME = "IV_StockTaking";
		public const string STOCKTAKINGID_FLD = "StockTakingID";
		public const string QUANTITY_FLD = "Quantity";
		public const string SLIPCODE_FLD = "SlipCode";
		public const string NOTE_FLD = "Note";
		public const string STOCKTAKINGPERIODID_FLD = "StockTakingPeriodID";
		public const string DEPARTMENTID_FLD = "DepartmentID";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string COUNTINGMETHODID_FLD = "CountingMethodID";
	}

	public sealed class IV_StockTakingPeriodTable
	{
		public const string TABLE_NAME = "IV_StockTakingPeriod";
		public const string STOCKTAKINGPERIODID_FLD = "StockTakingPeriodID";
		public const string DESCRIPTION_FLD = "Description";
		public const string STOCKTAKINGDATE_FLD = "StockTakingDate";
		public const string FROMDATE_FLD = "FromDate";
		public const string TODATE_FLD = "ToDate";
		public const string CCNID_FLD = "CCNID";
	}


	public sealed class PO_AdditionChargesTable
	{
		public const string TABLE_NAME = "PO_AdditionCharges";
		public const string ADDITIONCHARGESID_FLD = "AdditionChargesID";
		public const string QUANTITY_FLD = "Quantity";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string AMOUNT_FLD = "Amount";
		public const string VATAMOUNT_FLD = "VatAmount";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string PURCHASEORDERDETAILID_FLD = "PurchaseOrderDetailID";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string ADDCHARGEID_FLD = "AddChargeID";
		public const string REASONID_FLD = "ReasonID";

	}

	public sealed class PO_DeliveryScheduleTable

	{

		public const string TABLE_NAME = "PO_DeliverySchedule";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
		public const string DELIVERYLINE_FLD = "DeliveryLine";
		public const string SCHEDULEDATE_FLD = "ScheduleDate";
		public const string DELIVERYQUANTITY_FLD = "DeliveryQuantity";
		public const string RECEIVEDQUANTITY_FLD = "ReceivedQuantity";
		public const string PURCHASEORDERDETAILID_FLD = "PurchaseOrderDetailID";
		public const string ADJUSTMENT_FLD = "Adjustment";
	}

	public sealed class PO_ItemVendorReferenceDetailTable

	{

		public const string TABLE_NAME = "PO_ItemVendorReferenceDetail";
		public const string ITEMVENDORREFERENCEDETAILID_FLD = "ItemVendorReferenceDetailID";
		public const string ITEMVENDORREFERENCEID_FLD = "ItemVendorReferenceID";
		public const string ENDDATE_FLD = "EndDate";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string FROMQUANTITY_FLD = "FromQuantity";
		public const string TOQUANTITY_FLD = "ToQuantity";
		public const string FROMPRICE_FLD = "FromPrice";
		public const string TOPRICE_FLD = "ToPrice";

	}

	public sealed class PO_PRDeliveryScheduleTable

	{

		public const string TABLE_NAME = "PO_PRDeliverySchedule";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
		public const string DELIVERYLINE_FLD = "DeliveryLine";
		public const string SCHEDULEDATE_FLD = "ScheduleDate";
		public const string DELIVERYQUANTITY_FLD = "DeliveryQuantity";
		public const string RECEIVEDQUANTITY_FLD = "ReceivedQuantity";
		public const string PURCHASEREQUISITIONLINESID_FLD = "PurchaseRequisitionLinesID";

	}

	public sealed class PO_PurchaseOrderMasterTable
	{
		public const string TABLE_NAME = "PO_PurchaseOrderMaster";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string CODE_FLD = "Code";
		public const string ORDERDATE_FLD = "OrderDate";		
		public const string VAT_FLD = "VAT";
		public const string IMPORTTAX_FLD = "ImportTax";
		public const string SPECIALTAX_FLD = "SpecialTax";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string DELIVERYTERMSID_FLD = "DeliveryTermsID";
		public const string PAYMENTTERMSID_FLD = "PaymentTermsID";
		public const string CARRIERID_FLD = "CarrierID";
		public const string TOTALIMPORTTAX_FLD = "TotalImportTax";
		public const string BUYERID_FLD = "BuyerID";
		public const string TOTALVAT_FLD = "TotalVAT";
		public const string TOTALSPECIALTAX_FLD = "TotalSpecialTax";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string TOTALDISCOUNT_FLD = "TotalDiscount";
		public const string TOTALNETAMOUNT_FLD = "TotalNetAmount";
		public const string CCNID_FLD = "CCNID";
		public const string PARTYID_FLD = "PartyID";
		public const string VENDORLOCID_FLD = "VendorLocID";
		public const string SHIPTOLOCID_FLD = "ShipToLocID";
		public const string INVTOLOCID_FLD = "InvToLocID";
		public const string PARTYCONTACTID_FLD = "PartyContactID";
		public const string PURCHASETYPEID_FLD = "PurchaseTypeID";
		public const string DISCOUNTTERMID_FLD = "DiscountTermID";
		public const string PAUSEID_FLD = "PauseID";
		public const string PRIORITY_FLD = "Priority";
		public const string RECCOMPLETED_FLD = "RecCompleted";
		public const string COMMENT_FLD = "Comment";

		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string VENDORSO_FLD = "VendorSO";
		public const string POREVISION_FLD = "PORevision";

		public const string MAKERID_FLD = "MakerID";
		public const string MAKERLOCATIONID_FLD = "MakerLocationID";
		public const string REQUESTDELIVERYTIME_FLD = "RequestDeliveryTime";
		
		public const string PRICINGTYPEID_FLD = "PricingTypeID";
	}

	public sealed class PO_PurchaseOrderReceiptDetailTable
	{
		public const string TABLE_NAME = "PO_PurchaseOrderReceiptDetail";
		public const string BINID_FLD = "BinId";
		public const string LOCATIONID_FLD = "LocationId";
		public const string PURCHASEORDERRECEIPTDETAILID_FLD = "PurchaseOrderReceiptDetailID";
		public const string RECEIVEQUANTITY_FLD = "ReceiveQuantity";
		public const string PURCHASEORDERRECEIPTID_FLD = "PurchaseOrderReceiptID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string BUYINGUMID_FLD = "BuyingUMID";
		public const string PURCHASEORDERDETAILID_FLD = "PurchaseOrderDetailID";
		public const string LOT_FLD = "Lot";
		public const string QASTATUS_FLD = "QAStatus";
		public const string SERIAL_FLD = "Serial";
		public const string UMRATE_FLD = "UMRate";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
	}

	public sealed class PO_PurchaseOrderReceiptMasterTable
	{
		public const string TABLE_NAME = "PO_PurchaseOrderReceiptMaster";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string PURCHASEORDERRECEIPTID_FLD = "PurchaseOrderReceiptID";
		public const string POSTDATE_FLD = "PostDate";
		public const string RECEIVENO_FLD = "ReceiveNo";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string RECEIPTTYPE_FLD = "ReceiptType";
		public const string REFNO_FLD = "RefNo";
		public const string CCNID_FLD = "CCNID";
		public const string INVOICEMASTERID_FLD = "InvoiceMasterID";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
	}

	public sealed class PO_PurchaseRequisitionMasterTable
	{
		public const string TABLE_NAME = "PO_PurchaseRequisitionMaster";
		public const string PURCHASEREQUISITIONMASTERID_FLD = "PurchaseRequisitionMasterID";
		public const string ORDERDATE_FLD = "OrderDate";
		public const string DELIVERYDATE_FLD = "DeliveryDate";
		public const string VAT_FLD = "VAT";
		public const string IMPORTTAX_FLD = "ImportTax";
		public const string SPECIALTAX_FLD = "SpecialTax";
		public const string CODE_FLD = "Code";
		public const string CCNID_FLD = "CCNID";
		public const string REQUESTORID_FLD = "RequestorID";
		public const string APPROVERID_FLD = "ApproverID";
		public const string EXCHANGERATEID_FLD = "ExchangeRateID";
		public const string DELIVERYTERMSID_FLD = "DeliveryTermsID";
		public const string PAYMENTTERMSID_FLD = "PaymentTermsID";
		public const string CARRIERID_FLD = "CarrierID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string TOTALIMPORTTAX_FLD = "TotalImportTax";
		public const string TOTALVAT_FLD = "TotalVAT";
		public const string TOTALSPECIALTAX_FLD = "TotalSpecialTax";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string TOTALDISCOUNT_FLD = "TotalDiscount";
		public const string TOTALNETAMOUNT_FLD = "TotalNetAmount";
		public const string APPROVALDATE_FLD = "ApprovalDate";
		public const string PARTYID_FLD = "PartyID";
		public const string PARTYCONTACTID_FLD = "PartyContactID";
		public const string VENDORLOCID_FLD = "VendorLocID";
		public const string SHIPTOLOCID_FLD = "ShipToLocID";
		public const string INVTOLOCID_FLD = "InvToLocID";
		public const string SOURCE_FLD = "Source";
	}

	public sealed class PO_PurchaseTypeTable
	{
		public const string TABLE_NAME = "PO_PurchaseType";
		public const string PURCHASETYPEID_FLD = "PurchaseTypeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class PO_ReturnToVendorDetailTable
	{
		public const string TABLE_NAME = "PO_ReturnToVendorDetail";
		public const string RETURNTOVENDORDETAILID_FLD = "ReturnToVendorDetailID";
		public const string LINE_FLD = "Line";
		public const string QUANTITY_FLD = "Quantity";
		public const string LOT_FLD = "Lot";
		public const string SERIAL_FLD = "Serial";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string BUYINGUMID_FLD = "BuyingUMID";
		public const string MRB_FLD = "MRB";
		public const string LOCATIONID_FLD = "LocationID";
		public const string BINID_FLD = "BinID";
		public const string RETURNTOVENDORMASTERID_FLD = "ReturnToVendorMasterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string UMRATE_FLD = "UMRate";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string AMOUNT_FLD = "Amount";
		public const string VATPERCENT_FLD = "VATPercent";
		public const string VATAMOUNT_FLD = "VATAmount";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
	}
	
	public sealed class PO_ReturnToVendorMasterTable
	{
		public const string TABLE_NAME = "PO_ReturnToVendorMaster";
		public const string PARTYID_FLD = "PartyID";
		public const string PURCHASELOCID_FLD = "PurchaseLocID";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string INVOICEMASTERID_FLD = "InvoiceMasterID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string RETURNTOVENDORMASTERID_FLD = "ReturnToVendorMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string BYPO_FLD = "ByPO";
		public const string BYINVOICE_FLD = "ByInvoice";
		public const string RTVNO_FLD = "RTVNo";
		public const string CCNID_FLD = "CCNID";
		//public const string SHIPFORMLOCID_FLD = "ShipFormLocID";
	}


	public sealed class PO_PurchaseOrderDetailTable
	{
		public const string TABLE_NAME = "PO_PurchaseOrderDetail";
		public const string PURCHASEORDERDETAILID_FLD = "PurchaseOrderDetailID";
		public const string LINE_FLD = "Line";
		public const string REQUIREDDATE_FLD = "RequiredDate";
		public const string CLOSED_FLD = "Closed";
		public const string ORDERQUANTITY_FLD = "OrderQuantity";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string VATAMOUNT_FLD = "VATAmount";
		public const string IMPORTTAXAMOUNT_FLD = "ImportTaxAmount";
		public const string SPECIALTAXAMOUNT_FLD = "SpecialTaxAmount";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string DISCOUNTAMOUNT_FLD = "DiscountAmount";
		public const string NETAMOUNT_FLD = "NetAmount";
		public const string VENDORITEM_FLD = "VendorItem";
		public const string VENDORREVISION_FLD = "VendorRevision";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string TOTALDELIVERY_FLD = "TotalDelivery";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string BUYINGUMID_FLD = "BuyingUMID";
		public const string IMPORTTAX_FLD = "ImportTax";
		public const string SPECIALTAX_FLD = "SpecialTax";
		public const string VAT_FLD = "VAT";
		public const string REOPEN_FLD = "ReOpen";
		public const string APPROVERID_FLD = "ApproverID";
		public const string APPROVALDATE_FLD = "ApprovalDate";
		public const string UMRATE_FLD = "UMRate";
		public const string ADJUSTMENT1_FLD = "Adjustment1";
		public const string ADJUSTMENT2_FLD = "Adjustment2";
	}

	public sealed class PO_FunctionVendorReferenceTable
	{
		public const string TABLE_NAME = "PO_FunctionVendorReference";
		public const string FUNCTIONVENDORREFERENCEID_FLD = "FunctionVendorReferenceID";
		public const string CCNID_FLD = "CCNID";
		public const string VENDORFUNCTION_FLD = "VendorFunction";
		public const string FIXEDLEADTIME_FLD = "FixedLeadTime";
		public const string VARIANCELEADTIME_FLD = "VarianceLeadTime";
		public const string PRICE_FLD = "Price";
		public const string ENDDATE_FLD = "EndDate";
		public const string QUANTITY_FLD = "Quantity";
		public const string MINORDERQUANTITY_FLD = "MinOrderQuantity";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string VENDORID_FLD = "VendorID";
		public const string VENDORLOCID_FLD = "VendorLocID";
		public const string FUNCTIONID_FLD = "FunctionID";
		public const string CARRIERID_FLD = "CarrierID";
		public const string  CAPACITY_FLD  = "Capacity";
		public const string  CAPACITYPERIOD_FLD = "CapacityPeriod";
	}

	public sealed class PO_ItemVendorReferenceTable
	{
		public const string TABLE_NAME = "PO_ItemVendorReference";
		public const string ITEMVENDORREFERENCEID_FLD = "ItemVendorReferenceID";
		public const string CCNID_FLD = "CCNID";
		public const string VENDORITEM_FLD = "VendorItem";
		public const string VENDORITEMREVISION_FLD = "VendorItemRevision";
		public const string VENDORITEMDESCRIPTION_FLD = "VendorItemDescription";
		public const string MINORDERQUANTITY_FLD = "MinOrderQuantity";
		public const string FIXEDLEADTIME_FLD = "FixedLeadTime";
		public const string VARIANCELEADTIME_FLD = "VarianceLeadTime";
		public const string PRICE_FLD = "Price";
		public const string QUANTITY_FLD = "Quantity";
		public const string CARRIERID_FLD = "CarrierID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PARTYID_FLD = "PartyID";
		public const string VENDORLOCID_FLD = "VendorLocID";
		public const string BUYINGUM_FLD = "BuyingUM";
		public const string ENDDATE_FLD = "EndDate";
		public const string QASTATUS_FLD = "QAStatus";
		public const string  CAPACITY_FLD  = "Capacity";
		public const string  CAPACITYPERIOD_FLD = "CapacityPeriod";
	}

	public sealed class Store_GridLayOutTable 
	{
		public const string TABLE_NAME = "Grid";
		public const string COL_NAME_FLD = "ColName";
		public const string CAPTION_FLD = "Caption";
		public const string WIDTH_FLD = "Width";
		public const string COLOR_FLD = "Color";
	}

	public sealed class TransactionType
	{
		public const string SALE_ORDER = "SaleOrder";
		public const string RETURN_GOODS_RECEIVE = "SOReturnGoodsReceive";
		public const string CANCEL_COMMITMENT = "SOCancelCommitment";
		public const string CONFIRM_SHIPMENT = "SOConfirmShipment";
		public const string PURCHASE_ORDER = "POPurchaseOrder";
		public const string PURCHASE_ORDER_RECEIPT = "POPurchaseOrderReceipts";
		public const string RETURN_TO_VENDOR = "POReturnToVendor";
		public const string MATERIAL_RECEIPT = "IVMaterialReceipt";
		public const string MATERIAL_ISSUE = "IVMaterialIssue";
		public const string MATERIAL_SCRAP = "IVMaterialScrap";
		public const string LOC_TO_LOC = "IVLocToLocTransfer";
		public const string INVENTORY_ADJUSTMENT = "IVInventoryAdjustment";
		public const string INSPECTION_RESULT = "IVInspectionResult";
		public const string MRB_RESULT = "IVMRBResult";
		public const string WORK_ORDER_COMPLETION = "PROWorkOrderCompletion";		
		public const string WO_REVERSAL ="WOReversal";
		public const string PRO_ISSUE_MATERIAL ="PROIssueMaterial";
		public const string RECOVERABLE_MATERIAL = "RecoverableMaterial";
		public const string SHIPPING_ADJUSTMENT = "ShippingAdjustment";
	}

	//11/07/2005 Add for Visibility Control
	public sealed class Sys_ControlGroupTable
	{
		public const string TABLE_NAME = "Sys_ControlGroup";
		public const string CONTROLGROUPID_FLD = "ControlGroupID";
		public const string CONTROLGROUPTEXT_FLD = "ControlGroupText";
	}

	public sealed class Sys_Role_ControlGroupTable
	{
		public const string TABLE_NAME = "Sys_Role_ControlGroup";
		public const string ROLE_CONTROLGROUPID_FLD = "Role_ControlGroupID";
		public const string ROLEID_FLD = "RoleID";
		public const string CONTROLGROUPID_FLD = "ControlGroupID";
	}

	public sealed class Sys_VisibleControlTable
	{
		public const string TABLE_NAME = "Sys_VisibleControl";
		public const string VISIBLECONTROLID_FLD = "VisibleControlID";
		public const string FORMNAME_FLD = "FormName";
		public const string CONTROLNAME_FLD = "ControlName";
		public const string SUBCONTROLNAME_FLD = "SubControlName";
		public const string CONTROLGROUPID_FLD = "ControlGroupID";
	}

	//Material table

	public sealed class MST_WorkingDayDetailTable
	{
		public const string TABLE_NAME = "MST_WorkingDayDetail";
		public const string WORKINGDAYDETAILID_FLD = "WorkingDayDetailID";
		public const string OFFDAY_FLD = "OffDay";
		public const string COMMENT_FLD = "Comment";
		public const string WORKINGDAYMASTERID_FLD = "WorkingDayMasterID";
	}

	public sealed class MST_WorkingDayMasterTable
	{
		public const string TABLE_NAME = "MST_WorkingDayMaster";
		public const string WORKINGDAYMASTERID_FLD = "WorkingDayMasterID";
		public const string SUN_FLD = "Sun";
		public const string CCNID_FLD = "CCNID";
		public const string YEAR_FLD = "Year";
		public const string MON_FLD = "Mon";
		public const string TUE_FLD = "Tue";
		public const string WED_FLD = "Wed";
		public const string THU_FLD = "Thu";
		public const string FRI_FLD = "Fri";
		public const string SAT_FLD = "Sat";
	}

	public sealed class MTR_MPSCycleOptionDetailTable
	{
		public const string TABLE_NAME = "MTR_MPSCycleOptionDetail";
		public const string MPSCYCLEOPTIONDETAILID_FLD = "MPSCycleOptionDetailID";
		public const string ONHAND_FLD = "OnHand";
		public const string PURCHASEORDER_FLD = "PurchaseOrder";
		public const string SALEORDER_FLD = "SaleOrder";
		public const string DEMANDWO_FLD = "DemandWO";
		public const string SUPPLYWO_FLD = "SupplyWO";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string MPSCYCLEOPTIONMASTERID_FLD = "MPSCycleOptionMasterID";
		public const string SAFETYSTOCK_FLD = "SafetyStock";

	}

	public sealed class MTR_MPSCycleOptionMasterTable
	{
		public const string TABLE_NAME = "MTR_MPSCycleOptionMaster";
		public const string MPSCYCLEOPTIONMASTERID_FLD = "MPSCycleOptionMasterID";
		public const string CYCLE_FLD = "Cycle";
		public const string ASOFDATE_FLD = "AsOfDate";
		public const string MPSGENDATE_FLD = "MPSGenDate";
		public const string PLANHORIZON_FLD = "PlanHorizon";
		public const string PLANTHOUGHHORIZON_FLD = "PlanThoughHorizon";
		public const string CCNID_FLD = "CCNID";
		public const string DESCRIPTION_FLD = "Description";
		public const string GROUPBY_FLD = "GroupBy";
	}

	public sealed class MTR_MRPCycleOptionDetailTable
	{
		public const string TABLE_NAME = "MTR_MRPCycleOptionDetail";
		public const string MRPCYCLEOPTIONDETAILID_FLD = "MRPCycleOptionDetailID";
		public const string ONHAND_FLD = "OnHand";
		public const string PURCHASEORDER_FLD = "PurchaseOrder";
		public const string SALEORDER_FLD = "SaleOrder";
		public const string DEMANDWO_FLD = "DemandWO";
		public const string MRPCYCLEOPTIONMASTERID_FLD = "MRPCycleOptionMasterID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
	}

	public sealed class MTR_MRPCycleOptionMasterTable
	{
		public const string TABLE_NAME = "MTR_MRPCycleOptionMaster";
		public const string MRPCYCLEOPTIONMASTERID_FLD = "MRPCycleOptionMasterID";
		public const string CYCLE_FLD = "Cycle";
		public const string ASOFDATE_FLD = "AsOfDate";
		public const string MPSGENDATE_FLD = "MPSGenDate";
		public const string PLANHORIZON_FLD = "PlanHorizon";		
		public const string CCNID_FLD = "CCNID";
		public const string DESCRIPTION_FLD = "Description";
		public const string MPSCYCLEOPTIONMASTERID_FLD = "MPSCycleOptionMasterID";
		public const string INCLUDEDREMAINPO_FLD = "IncludedRemainPO";
		public const string DAYBEFOREASOFDATE_FLD = "DaysBeforeAsOfDate";
		public const string INCLUDEDRETURNTOVENDOR_FLD = "IncludedReturnToVendor";
	}
	
	//For PRO DCP 

	public sealed class PRO_DCOptionDetailTable
	{
		public const string TABLE_NAME = "PRO_DCOptionDetail";
		public const string DCOPTIONDETAILID_FLD = "DCOptionDetailID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string WORKORDER_FLD = "WorkOrder";
		public const string DCOPTIONMASTERID_FLD = "DCOptionMasterID";
	}

	public sealed class PRO_DCOptionMasterTable
	{
		public const string TABLE_NAME = "PRO_DCOptionMaster";
		public const string DCOPTIONMASTERID_FLD = "DCOptionMasterID";
		public const string CCNID_FLD = "CCNID";
		public const string CYCLE_FLD = "Cycle";
		public const string DESCRIPTION_FLD = "Description";
		//public const string ASOFDATE_FLD = "AsOfDate";
		//public const string MAXDAYS_FLD = "MaxDays";
		public const string SCHEDULETYPE_FLD = "ScheduleType";
		public const string IGNOREMOVETIME_FLD = "IgnoreMoveTime";
		//public const string MPSCYCLEOPTIONMASTERID_FLD = "MPSCycleOptionMasterID";
		public const string SCHEDULECODE_FLD = "ScheduleCode";
		public const string LASTUPDATE_FLD = "LastUpdate";
		public const string INCLUDECHECKPOINT_FLD = "IncludeCheckPoint";
		public const string SAFETYSTOCK_FLD = "SafetyStock";
		public const string ONHAND_FLD = "OnHand";
		public const string PLANHORIZON_FLD = "PlanHorizon";
		public const string ASOFDATE_FLD = "AsOfDate";
		public const string GROUPBY_FLD = "GroupBy";
		public const string PLANNINGPERIOD_FLD = "PlanningPeriod";
		public const string VERSION_FLD = "Version";
		public const string USECACHE_ASBEGIN_FLD = "UseCacheAsBegin";
	}


	public sealed class PRO_DCPAdjustmentTable
	{
		public const string TABLE_NAME = "PRO_DCPAdjustment";
		public const string DCPADJUSTMENTID_FLD = "DCPAdjustmentID";
		public const string DCPCYCLEID_FLD = "DCPCycleID";
		public const string CCNID_FLD = "CCNID";
		public const string OPERATIONID_FLD = "OperationID";
		public const string CATEGORYID_FLD = "CategoryID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string SHIFTID_FLD = "ShiftID";
		public const string VIEWTYPEID_FLD = "ViewTypeID";
		public const string WORKORDERID_FLD = "WorkOrderID";
	}

	public sealed class PRO_ShiftPatternTable
	{
		public const string TABLE_NAME = "PRO_ShiftPattern";
		public const string SHIFTPATTERNID_FLD = "ShiftPatternID";
		public const string SHIFTID_FLD = "ShiftID";
		public const string CCNID_FLD = "CCNID";
		public const string COMMENT_FLD = "Comment";
		public const string EFFECTDATEFROM_FLD = "EffectDateFrom";
		public const string EFFECTDATETO_FLD = "EffectDateTo";
		public const string WORKTIMEFROM_FLD = "WorkTimeFrom";
		public const string WORKTIMETO_FLD = "WorkTimeTo";
		public const string REGULARSTOPFROM_FLD = "RegularStopFrom";
		public const string REGULARSTOPTO_FLD = "RegularStopTo";
		public const string REFRESHINGFROM_FLD = "RefreshingFrom";
		public const string REFRESHINGTO_FLD = "RefreshingTo";
		public const string EXTRASTOPFROM_FLD = "ExtraStopFrom";
		public const string EXTRASTOPTO_FLD = "ExtraStopTo";
	}

	public sealed class PRO_CheckPointTable
	{
		public const string TABLE_NAME = "PRO_CheckPoint";
		public const string CHECKPOINTID_FLD = "CheckPointID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string SAMPLEPATTERN_FLD = "SamplePattern";
		public const string SAMPLERATE_FLD = "SampleRate";
		public const string DELAYTIME_FLD = "DelayTime";
		public const string CCNID_FLD = "CCNID";
	}


	public sealed class PRO_ShiftCapacityTable
	{
		public const string TABLE_NAME = "PRO_ShiftCapacity";
		public const string SHIFTCAPACITYID_FLD = "ShiftCapacityID";
		public const string WCCAPACITYID_FLD = "WCCapacityID";
		public const string SHIFTID_FLD = "ShiftID";
	}

	public sealed class PRO_WCCapacityTable
	{
		public const string TABLE_NAME = "PRO_WCCapacity";
		public const string WCCAPACITYID_FLD = "WCCapacityID";
		public const string MACHINENO_FLD = "MachineNo";
		public const string BEGINDATE_FLD = "BeginDate";
		public const string ENDDATE_FLD = "EndDate";
		public const string FACTOR_FLD = "Factor";
		public const string CAPACITY_FLD = "Capacity";
		public const string CREWSIZE_FLD = "CrewSize";
		public const string CCNID_FLD = "CCNID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string WCTYPE_FLD = "WCType";
	}

	//Actual cost
	public sealed class MTR_ACDSDetailTable
	{
		public const string TABLE_NAME = "MTR_ACDSDetail";
		public const string ACDSDETAILID_FLD = "ACDSDetailID";
		public const string ACDSOPTIONDETAILID_FLD = "ACDSOptionDetailID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PERCENTAGE_FLD = "Percentage";
	}

	public sealed class MTR_ACDSOptionDetailTable
	{
		public const string TABLE_NAME = "MTR_ACDSOptionDetail";
		public const string ACDSOPTIONDETAILID_FLD = "ACDSOptionDetailID";
		public const string DISTRIBUTIONMETHOD_FLD = "DistributionMethod";
		public const string VALUE_FLD = "Value";
		public const string ACDSOPTIONMASTERID_FLD = "ACDSOptionMasterID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string COSTELEMENTID_FLD = "CostElementID";
	}

	public sealed class MTR_ACDSOptionMasterTable
	{
		public const string TABLE_NAME = "MTR_ACDSOptionMaster";
		public const string ACDSOPTIONMASTERID_FLD = "ACDSOptionMasterID";
		public const string CCNID_FLD = "CCNID";
		public const string PERIOD_FLD = "Period";
		public const string FROMDATE_FLD = "FromDate";
		public const string TODATE_FLD = "ToDate";
		public const string ROLLUP_FLD = "RollUp";
	}

	public sealed class MTR_ItemActualCostTable
	{
		public const string TABLE_NAME = "MTR_ItemActualCost";
		public const string ITEMACTUALCOSTID_FLD = "ItemActualCostID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string ACDSOPTIONMASTERID_FLD = "ACDSOptionMasterID";
		public const string QUANTITY_FLD = "Quantity";
		public const string MATERIALCOST_FLD = "MaterialCost";
		public const string WORKCENTERID_FLD = "WorkCenterID";
	}

	public sealed class v_PurchaseOrderOfItem
	{
		public const string VIEW_NAME = "v_PurchaseOrderOfItem";
		public const string PO_CODE = "PO_PurchaseOrderMasterCode";
		public const string ITEM_CODE = "ITM_ProductCode";
	}

	public sealed class v_SOToCommit

	{
		public const string VIEW_NAME = "v_SOToCommit";
		public const string UM_CODE = "MST_UnitOfMeasureCode";
		public const string ITEM_CODE = "ITM_ProductCode";
		public const string SO_Line = "Line";
	}

	public sealed class v_ApprovedAndNotCompletedPO
	{
		public const string VIEW_NAME = "v_ApprovedAndNotCompletedPO";
	}

	public sealed class v_SOMasterToCommit
	{
		public const string VIEW_NAME = "v_SOMasterToCommit";
	}

	public sealed class PRO_WOReversalDetailTable
	{
		public const string TABLE_NAME = "PRO_WOReversalDetail";
		public const string WOREVERSALDETAILID_FLD = "WOReversalDetailID";
		public const string WOREVERSALMASTERID_FLD = "WOReversalMasterID";
		public const string QUANTITY_FLD = "Quantity";
		public const string PRODUCTID_FLD = "ProductID";
		public const string BINID_FLD = "BinID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string ISSUEMATERIALDETAILID_FLD = "IssueMaterialDetailID";
		public const string LINE_FLD = "Line";
		
	}

	public sealed class PRO_WOReversalMasterTable
	{
		public const string TABLE_NAME = "PRO_WOReversalMaster";
		public const string WOREVERSALMASTERID_FLD = "WOReversalMasterID";
		public const string CCNID_FLD = "CCNID";
		public const string POSTDATE_FLD = "PostDate";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string REVERSALNO_FLD = "ReversalNo";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string WOROUTINGID_FLD = "WORoutingID";
	}

	public sealed class PRO_DCPResultTable
	{
		public const string TABLE_NAME = "PRO_DCPResult";
		public const string DCPRESULTID_FLD = "DCPResultID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string STARTDATETIME_FLD = "StartDateTime";
		public const string DUEDATETIME_FLD = "DueDateTime";
		public const string QUANTITY_FLD = "Quantity";
		public const string DCOPTIONMASTERID_FLD = "DCOptionMasterID";
		public const string CHECKPOINTID_FLD = "CheckPointID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CPOID_FLD = "CPOID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
	}

	public sealed class PRO_ChangeCategoryTable
	{
		public const string TABLE_NAME = "PRO_ChangeCategory";
		public const string CHANGECATEGORYID_FLD = "ChangeCategoryID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CCNID_FLD = "CCNID";
	}

	public sealed class PRO_ChangeCategoryDetailTable

	{
		public const string TABLE_NAME = "PRO_ChangeCategoryDetail";
		public const string CHANGECATEGORYDETAILID_FLD = "ChangeCategoryDetailID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CHANGECATEGORYMASTERID_FLD = "ChangeCategoryMasterID";
	}

	public sealed class PRO_ChangeCategoryMasterTable

	{
		public const string TABLE_NAME = "PRO_ChangeCategoryMaster";
		public const string CHANGECATEGORYMASTERID_FLD = "ChangeCategoryMasterID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string CCNID_FLD = "CCNID";
	}

	public sealed class PRO_ChangeCategoryMatrixTable

	{
		public const string TABLE_NAME = "PRO_ChangeCategoryMatrix";
		public const string CHANGECATEGORYMATRIXID_FLD = "ChangeCategoryMatrixID";
		public const string SOURCEPRODUCTID_FLD = "SourceProductID";
		public const string DESTPRODUCTID_FLD = "DestProductID";
		public const string CHANGETIME_FLD = "ChangeTime";
		public const string CHANGECATEGORYMASTERID_FLD = "ChangeCategoryMasterID";

	}

	public sealed class PRO_CostElementTable
	{
		public const string TABLE_NAME = "PRO_CostElement";
		public const string COSTELEMENTID_FLD = "CostElementID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class PRO_DCPResultDetailTable
	{
		public const string TABLE_NAME = "PRO_DCPResultDetail";
		public const string DCPRESULTDETAILID_FLD = "DCPResultDetailID";
		public const string STARTTIME_FLD = "StartTime";
		public const string ENDTIME_FLD = "EndTime";
		public const string TOTALSECOND_FLD = "TotalSecond";
		public const string QUANTITY_FLD = "Quantity";
		public const string PERCENTAGE_FLD = "Percentage";
		public const string DCPRESULTMASTERID_FLD = "DCPResultMasterID";
		public const string TYPE_FLD = "Type";
		public const string WORKINGDATE_FLD = "WorkingDate";
		public const string WOCONVERTED_FLD = "Converted";
		public const string WOGENERATEDID_FLD = "WOGeneratedID";
		public const string SHIFTID_FLD = "ShiftID";
		public const string POGENERATEDID_FLD = "POGeneratedID";
		public const string SAFETYSTOCKAMOUNT= "SafetyStockAmount";
		public const string ISMANUAL_FLD= "IsManual";
	}

	public sealed class PRO_DCPResultMasterTable
	{
		public const string TABLE_NAME = "PRO_DCPResultMaster";
		public const string DCPRESULTMASTERID_FLD = "DCPResultMasterID";
		public const string WOROUTINGID_FLD = "WORoutingID";
		public const string STARTDATETIME_FLD = "StartDateTime";
		public const string DUEDATETIME_FLD = "DueDateTime";
		public const string QUANTITY_FLD = "Quantity";
		public const string DCOPTIONMASTERID_FLD = "DCOptionMasterID";
		public const string CHECKPOINTID_FLD = "CheckPointID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CPOID_FLD = "CPOID";
		public const string WORKORDERDETAILID_FLD = "WorkOrderDetailID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
		public const string ROUTINGID_FLD = "RoutingID";
	}

	public sealed class PO_InvoiceDetailTable
	{
		public const string TABLE_NAME = "PO_InvoiceDetail";
		public const string INVOICEDETAILID_FLD = "InvoiceDetailID";
		public const string INVOICELINE_FLD = "InvoiceLine";
		public const string INVOICEMASTERID_FLD = "InvoiceMasterID";
		public const string INVOICEQUANTITY_FLD = "InvoiceQuantity";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string VAT_FLD = "VAT";
		public const string VATAMOUNT_FLD = "VATAmount";
		public const string IMPORTTAX_FLD = "ImportTax";
		public const string IMPORTTAXAMOUNT_FLD = "ImportTaxAmount";
		public const string INLAND_FLD = "Inland";
		public const string BEFOREVATAMOUNT_FLD = "BeforeVATAmount";
		public const string CIFAMOUNT_FLD = "CIFAmount";
		public const string CIPAMOUNT_FLD = "CIPAmount";
		public const string NOTE_FLD = "Note";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
		public const string PURCHASEORDERDETAILID_FLD = "PurchaseOrderDetailID";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
		public const string INVOICEUMID_FLD = "InvoiceUMID";
	}

	public sealed class PO_InvoiceMasterTable
	{
		public const string TABLE_NAME = "PO_InvoiceMaster";
		public const string INVOICEMASTERID_FLD = "InvoiceMasterID";
		public const string INVOICENO_FLD = "InvoiceNo";
		public const string POSTDATE_FLD = "PostDate";
		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string BLDATE_FLD = "BLDate";
		public const string INFORMDATE_FLD = "InformDate";
		public const string DECLARATIONDATE_FLD = "DeclarationDate";
		public const string BLNUMBER_FLD = "BLNumber";
		public const string TAXINFORMNUMBER_FLD = "TaxInformNumber";
		public const string TAXDECLARATIONNUMBER_FLD = "TaxDeclarationNumber";
		public const string TOTALINLANDAMOUNT_FLD = "TotalInlandAmount";
		public const string TOTALCIPAMOUNT_FLD = "TotalCIPAmount";
		public const string TOTALCIFAMOUNT_FLD = "TotalCIFAmount";
		public const string TOTALIMPORTTAX_FLD = "TotalImportTax";
		public const string TOTALBEFOREVATAMOUNT_FLD = "TotalBeforeVATAmount";
		public const string TOTALVATAMOUNT_FLD = "TotalVATAmount";
		public const string CCNID_FLD = "CCNID";
		public const string PARTYID_FLD = "PartyID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string CARRIERID_FLD = "CarrierID";
		public const string PAYMENTTERMID_FLD = "PaymentTermID";
		public const string DELIVERYTERMID_FLD = "DeliveryTermID";
	}

	
	public sealed class MTR_CPOTable
	{
		public const string TABLE_NAME = "MTR_CPO";
		public const string CPOID_FLD = "CPOID";
		public const string QUANTITY_FLD = "Quantity";
		public const string STARTDATE_FLD = "StartDate";
		public const string DUEDATE_FLD = "DueDate";
		public const string REFMASTERID_FLD = "RefMasterID";
		public const string REFDETAILID_FLD = "RefDetailID";
		public const string REFTYPE_FLD = "RefType";
		public const string NETAVAILABLEQUANTITY_FLD = "NetAvailableQuantity";
		public const string CCNID_FLD = "CCNID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string ISMPS_FLD = "IsMPS";
		public const string CONVERTED_FLD = "Converted";
		public const string POGENERATEDID_FLD = "POGeneratedID";
		public const string WOGENERATEDID_FLD = "WOGeneratedID";
		public const string MRPCYCLEOPTIONMASTERID_FLD = "MRPCycleOptionMasterID";
		public const string MPSCYCLEOPTIONMASTERID_FLD = "MPSCycleOptionMasterID";
		public const string PARENTCPOID_FLD = "ParentCPOID";
		public const string DEMANDQUANTITY_FLD = "DemandQuantity";
		public const string SUPPLYQUANTITY_FLD = "SupplyQuantity";
		public const string DCPUPDATED_FLD = "DCPUpdated";
		public const string ISSAFETYSTOCK_FLD = "IsSafetyStock";
	}

	public sealed class SO_CustomerItemRefDetailTable
	{
		public const string TABLE_NAME = "SO_CustomerItemRefDetail";
		public const string CUSTOMERITEMREFDETAILID_FLD = "CustomerItemRefDetailID";
		public const string CUSTOMERITEMCODE_FLD = "CustomerItemCode";
		public const string CUSTOMERITEMMODEL_FLD = "CustomerItemModel";
		public const string PRODUCTID_FLD = "ProductID";
		public const string CUSTOMERITEMREFMASTERID_FLD = "CustomerItemRefMasterID";
		public const string UNITPRICE_FLD = "UnitPrice";
		public const string UNITOFMEASUREID_FLD = "UnitOfMeasureID";
	}
	public sealed class SO_CustomerItemRefMasterTable
	{
		public const string TABLE_NAME = "SO_CustomerItemRefMaster";
		public const string CUSTOMERITEMREFMASTERID_FLD = "CustomerItemRefMasterID";
		public const string CCNID_FLD = "CCNID";
		public const string PARTYID_FLD = "PartyID";
	}

	public sealed class SO_ConfirmShipDetailTable
	{
		public const string TABLE_NAME = "SO_ConfirmShipDetail";
		public const string CONFIRMSHIPDETAILID_FLD = "ConfirmShipDetailID";
		public const string CONFIRMSHIPMASTERID_FLD = "ConfirmShipMasterID";
		public const string SALEORDERDETAILID_FLD = "SaleOrderDetailID";
		public const string DELIVERYSCHEDULEID_FLD = "DeliveryScheduleID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PRICE_FLD = "Price";
		public const string INVOICEQTY_FLD = "InvoiceQty";
		public const string VATPERCENT_FLD = "VATPercent";
		public const string VATAMOUNT_FLD = "VATAmount";
	}

	public sealed class SO_ConfirmShipMasterTable
	{
		public const string TABLE_NAME = "SO_ConfirmShipMaster";
		public const string CONFIRMSHIPMASTERID_FLD = "ConfirmShipMasterID";
		public const string CONFIRMSHIPNO_FLD = "ConfirmShipNo";
		public const string SHIPPEDDATE_FLD = "ShippedDate";
		public const string SALEORDERMASTERID_FLD = "SaleOrderMasterID";
		public const string MASTERLOCATIONID_FLD = "MasterLocationID";
		public const string CCNID_FLD = "CCNID";
		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string GATEID_FLD = "GateID";
		public const string COMMENT_FLD = "Comment";
		public const string FROMPORT_FLD = "FromPort";
		public const string CNO_FLD = "CNo";
		public const string MEASUREMENT_FLD = "Measurement";
		public const string GROSSWEIGHT_FLD = "GrossWeight";
		public const string NETWEIGHT_FLD = "NetWeight";
		public const string ISSUINGBANK_FLD = "IssuingBank";
		public const string LCDATE_FLD = "LCDate";
		public const string LCNO_FLD = "LCNo";
		public const string VESSELNAME_FLD = "VesselName";
		public const string SHIPCODE_FLD = "ShipCode";
		public const string ONBOARDDATE_FLD = "OnBoardDate";
		public const string REFERENCENO_FLD = "ReferenceNo";
		public const string INVOICENO_FLD = "InvoiceNo";
		public const string INVOICEDATE_FLD = "InvoiceDate";
	}

	public sealed class Sys_VisibilityGroupTable
	{
		public const string TABLE_NAME = "Sys_VisibilityGroup";
		public const string VISIBILITYGROUPID_FLD = "VisibilityGroupID";
		public const string CONTROLNAME_FLD = "ControlName";
		public const string PARENTID_FLD = "ParentID";
		public const string FORMNAME_FLD = "FormName";
		public const string GROUPTEXT_FLD = "GroupText";
		public const string GROUPTEXTVN_FLD = "GroupTextVN";
		public const string GROUPTEXTJP_FLD = "GroupTextJP";
		public const string TYPE_FLD = "Type";
	}

	public sealed class Sys_VisibilityGroup_RoleTable
	{
		public const string TABLE_NAME = "Sys_VisibilityGroup_Role";
		public const string VISIBILITYGROUP_ROLEID_FLD = "VisibilityGroup_RoleID";
		public const string GROUPID_FLD = "GroupID";
		public const string ROLEID_FLD = "RoleID";
	}
	public sealed class Sys_VisibilityItemTable
	{
		public const string TABLE_NAME = "Sys_VisibilityItem";
		public const string VISIBILITYITEMID_FLD = "VisibilityItemID";
		public const string NAME_FLD = "Name";
		public const string GROUPID_FLD = "GroupID";
		public const string TYPE_FLD = "Type";
	}

	public sealed class v_ReceiptBySchedule
	{
		public const string VIEW_NAME = "v_ReceiptBySchedule";
		public const string PARTNUMBER_FLD = "PartNumber";
		public const string PARTNAME_FLD = "PartNumber";
		public const string MODEL_FLD = "Model";
	}

	public sealed class PRO_ProductionLineTable
	{
		public const string TABLE_NAME = "PRO_ProductionLine";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string LOCATIONID_FLD = "LocationID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string DEPARTMENTID_FLD = "DepartmentID";
		public const string BALANCEPLANNING_FLD = "BalancePlanning";
		public const string ROUNDUPDAYSEXCEPTION_FLD = "RoundUpDaysException";
	}

	public sealed class sys_RolePartyTable
	{
		public const string TABLE_NAME = "sys_RoleParty";
		public const string ROLEPARTYID_FLD = "RolePartyID";
		public const string ROLEID_FLD = "RoleID";
		public const string PARTYID_FLD = "PartyID";
	}
	
	public sealed class sys_RoleProductTable
	{
		public const string TABLE_NAME = "sys_RoleProduct";
		public const string ROLEPRODUCTID_FLD = "RoleProductID";
		public const string ROLEID_FLD = "RoleID";
		public const string PRODUCTID_FLD = "ProductID";
	}

	public sealed class sys_RoleWCTable
	{
		public const string TABLE_NAME = "sys_RoleWC";
		public const string ROLEWCID_FLD = "RoleWCID";
		public const string ROLEID_FLD = "RoleID";
		public const string WORKCENTERID_FLD = "WorkCenterID";
	}

	public sealed class sys_RecordSecurityParamTable
	{
		public const string TABLE_NAME = "sys_RecordSecurityParam";
		public const string RECORDSECURITYPARAMID_FLD = "RecordSecurityParamID";
		public const string SOURCETABLENAME_FLD = "SourceTableName";
		public const string MENUNAME_FLD = "MenuName";
		public const string SECURITYTABLENAME_FLD = "SecurityTableName";
	}

	public sealed class enm_PartyTypeEnumTable
	{
		public const string TABLE_NAME = "enm_PartyTypeEnum";
		public const string VALUE_FLD = "Value";
		public const string NAME_FLD = "Name";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class IV_MiscellaneousIssueDetailTable
	{
		public const string TABLE_NAME = "IV_MiscellaneousIssueDetail";
		public const string MISCELLANEOUSISSUEDETAILID_FLD = "MiscellaneousIssueDetailID";
		public const string LOT_FLD = "Lot";
		public const string QUANTITY_FLD = "Quantity";
		public const string MISCELLANEOUSISSUEMASTERID_FLD = "MiscellaneousIssueMasterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string STOCKUMID_FLD = "StockUMID";
		public const string AVAILABLEQTY_FLD = "AvailableQty";
	}

	public sealed class IV_MiscellaneousIssueMasterTable
	{
		public const string TABLE_NAME = "IV_MiscellaneousIssueMaster";
		public const string MISCELLANEOUSISSUEMASTERID_FLD = "MiscellaneousIssueMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string COMMENT_FLD = "Comment";
		public const string TRANSNO_FLD = "TransNo";
		public const string USERNAME_FLD = "UserName";
		public const string LASTCHANGE_FLD = "LastChange";
		public const string CCNID_FLD = "CCNID";
		public const string DESBINID_FLD = "DesBinID";
		public const string SOURCEBINID_FLD = "SourceBinID";
		public const string DESLOCATIONID_FLD = "DesLocationID";
		public const string SOURCELOCATIONID_FLD = "SourceLocationID";
		public const string DESMASLOCATIONID_FLD = "DesMasLocationID";
		public const string SOURCEMASLOCATIONID_FLD = "SourceMasLocationID";
		public const string PARTYID_FLD = "PartyID";
		public const string ISSUEPURPOSEID_FLD = "IssuePurposeID";
	}

	public sealed class enm_BINTypeTable
	{
		public const string TABLE_NAME = "enm_BINType";
		public const string BINTYPEID_FLD = "BINTypeID";
		public const string NAME_FLD = "Name";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class PO_VendorDeliveryScheduleTable
	{
		public const string TABLE_NAME = "PO_VendorDeliverySchedule";
		public const string VENDORDELIVERYSCHEDULE_FLD = "VendorDeliverySchedule";
		public const string PARTYID_FLD = "PartyID";
		public const string CCNID_FLD = "CCNID";
		public const string DELIVERYTYPE_FLD = "DeliveryType";
		public const string DELHOUR_FLD = "DelHour";
		public const string WEEKLYDAY_FLD = "WeeklyDay";
		public const string MONTHLYDATE_FLD = "MonthlyDate";
		public const string COMMENT_FLD = "Comment";
		public const string DELMIN_FLD = "DelMin";
		public const string PRODUCTID_FLD = "ProductID";
	}

	public sealed class STD_CostCenterRateDetailTable
	{
		public const string TABLE_NAME = "STD_CostCenterRateDetail";
		public const string COSTCENTERRATEDETAILID_FLD = "CostCenterRateDetailID";
		public const string COSTCENTERRATEMASTERID_FLD = "CostCenterRateMasterID";
		public const string COSTELEMENTID_FLD = "CostElementID";
		public const string COST_FLD = "Cost";
	}
	public sealed class STD_CostCenterRateMasterTable
	{
		public const string TABLE_NAME = "STD_CostCenterRateMaster";
		public const string COSTCENTERRATEMASTERID_FLD = "CostCenterRateMasterID";
		public const string CCNID_FLD = "CCNID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
	}
	public sealed class STD_CostElementTable
	{
		public const string TABLE_NAME = "STD_CostElement";
		public const string COSTELEMENTID_FLD = "CostElementID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string ORDERNO_FLD = "OrderNo";
		public const string PARENTID_FLD = "ParentID";
		public const string COSTELEMENTTYPEID_FLD = "CostElementTypeID";
		public const string ISLEAF_FLD = "IsLeaf";
	}
	public sealed class STD_CostElementTypeTable
	{
		public const string TABLE_NAME = "STD_CostElementType";
		public const string COSTELEMENTTYPEID_FLD = "CostElementTypeID";
		public const string DESCRIPTION_FLD = "Description";
		public const string CODE_FLD = "Code";
	}

	public sealed class CST_ProductGroupTable
	{
		public const string TABLE_NAME = "CST_ProductGroup";
		public const string PRODUCTGROUPID_FLD = "ProductGroupID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
	}

	public sealed class CST_STDItemCostTable
	{
		public const string TABLE_NAME = "CST_STDItemCost";
		public const string STDITEMCOSTID_FLD = "STDItemCostID";
		public const string COST_FLD = "Cost";
		public const string ROLLUPDATE_FLD = "RollUpDate";
		public const string PRODUCTID_FLD = "ProductID";
		public const string COSTELEMENTID_FLD = "CostElementID";
	}

	//	public sealed class CST_FreightDetailTable
	//	{
	//		public const string TABLE_NAME = "cst_FreightDetail";
	//		public const string FREIGHTDETAILID_FLD = "FreightDetailID";
	//		public const string QUANTITY_FLD = "Quantity";
	//		public const string UNITPRICECIF_FLD = "UnitPriceCIF";
	//		public const string AMOUNT_FLD = "Amount";
	//		public const string FREIGHTMASTERID_FLD = "FreightMasterID";
	//		public const string PRODUCTID_FLD = "ProductID";
	//		public const string BUYINGUMID_FLD = "BuyingUMID";
	//		public const string LINE_FLD = "Line";
	//	}
	//
	//	public sealed class CST_FreightMasterTable
	//	{
	//		public const string TABLE_NAME = "cst_FreightMaster";
	//		public const string FREIGHTMASTERID_FLD = "FreightMasterID";
	//		public const string TRANNO_FLD = "TranNo";
	//		public const string NOTE_FLD = "Note";
	//		public const string EXCHANGERATE_FLD = "ExchangeRate";
	//		public const string TOTALAMOUNT_FLD = "TotalAmount";
	//		public const string TYPE_FLD = "Type";
	//		public const string CCNID_FLD = "CCNID";
	//		public const string CURRENCYID_FLD = "CurrencyID";
	//		public const string TRANSPORTERID_FLD = "TransporterID";
	//		public const string VENDORID_FLD = "VendorID";
	//		public const string COSTELEMENTID_FLD = "CostElementID";
	//		public const string PURCHASEORDERMASTERID_FLD = "PurchaseOrderMasterID";
	//		public const string INVOICEMASTERID_FLD = "InvoiceMasterID";
	//		public const string GRANDTOTAL_FLD = "GrandTotal";
	//		public const string SUBTOTAL_FLD = "SubTotal";
	//		public const string TOTALVAT_FLD = "TotalVAT";
	//		public const string VATPERCENT_FLD = "VATPercent";
	//		public const string POSTDATE_FLD = "PostDate";
	//	}

	public sealed class CST_ActCostAllocationDetailTable
	{
		public const string TABLE_NAME = "cst_ActCostAllocationDetail";
		public const string ACTCOSTALLOCATIONDETAILID_FLD = "ActCostAllocationDetailID";
		public const string ALLOCATIONAMOUNT_FLD = "AllocationAmount";
		public const string ACTCOSTALLOCATIONMASTERID_FLD = "ActCostAllocationMasterID";
		public const string COSTELEMENTID_FLD = "CostElementID";
		public const string DEPARTMENTID_FLD = "DepartmentID";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string PRODUCTGROUPID_FLD = "ProductGroupID";
		public const string LINE_FLD = "Line";
	}

	public sealed class CST_ActCostAllocationMasterTable
	{
		public const string TABLE_NAME = "cst_ActCostAllocationMaster";
		public const string ACTCOSTALLOCATIONMASTERID_FLD = "ActCostAllocationMasterID";
		public const string PERIODNAME_FLD = "PeriodName";
		public const string FROMDATE_FLD = "FromDate";
		public const string TODATE_FLD = "ToDate";
		public const string CCNID_FLD = "CCNID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string ROLLUPDATE_FLD = "RollupDate";
	}

	public sealed class CST_AllocationResultTable
	{
		public const string TABLE_NAME = "cst_AllocationResult";
		public const string ALLOCATIONRESULTID_FLD = "AllocationResultID";
		public const string COMPLETEDQUANTITY_FLD = "CompletedQuantity";
		public const string RATE_FLD = "Rate";
		public const string AMOUNT_FLD = "Amount";
		public const string ACTCOSTALLOCATIONMASTERID_FLD = "ActCostAllocationMasterID";
		public const string DEPARTMENTID_FLD = "DepartmentID";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string PRODUCTGROUPID_FLD = "ProductGroupID";
		public const string COSTELEMENTID_FLD = "CostElementID";
		public const string PRODUCTID_FLD = "ProductID";
	}

	//	public sealed class cst_AllocationResultTable
	//	{
	//		public const string TABLE_NAME = "cst_AllocationResult";
	//		public const string ALLOCATIONRESULTID_FLD = "AllocationResultID";
	//		public const string COMPLETEDQUANTITY_FLD = "CompletedQuantity";
	//		public const string RATE_FLD = "Rate";
	//		public const string AMOUNT_FLD = "Amount";
	//		public const string ACTCOSTALLOCATIONMASTERID_FLD = "ActCostAllocationMasterID";
	//		public const string DEPARTMENTID_FLD = "DepartmentID";
	//		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
	//		public const string PRODUCTGROUPID_FLD = "ProductGroupID";
	//		public const string COSTELEMENTID_FLD = "CostElementID";
	//		public const string PRODUCTID_FLD = "ProductID";
	//	}

	public sealed class cst_FreightDetailTable
	{
		public const string TABLE_NAME = "cst_FreightDetail";
		public const string FREIGHTDETAILID_FLD = "FreightDetailID";
		public const string QUANTITY_FLD = "Quantity";
		public const string UNITPRICECIF_FLD = "UnitPriceCIF";
		public const string AMOUNT_FLD = "Amount";
		public const string FREIGHTMASTERID_FLD = "FreightMasterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string BUYINGUMID_FLD = "BuyingUMID";
		public const string VATAMOUNT_FLD = "VATAmount";
		public const string IMPORTTAXPERCENT_FLD = "ImportTax";
		public const string ADJUSTMENTID_FLD = "AdjustmentID";
	}
	
	public sealed class cst_FreightMasterTable
	{
		public const string TABLE_NAME = "cst_FreightMaster";
		public const string FREIGHTMASTERID_FLD = "FreightMasterID";
		public const string TRANNO_FLD = "TranNo";
		public const string NOTE_FLD = "Note";
		public const string EXCHANGERATE_FLD = "ExchangeRate";
		public const string TOTALAMOUNT_FLD = "TotalAmount";
		public const string CCNID_FLD = "CCNID";
		public const string CURRENCYID_FLD = "CurrencyID";
		public const string TRANSPORTERID_FLD = "TransporterID";
		public const string VENDORID_FLD = "VendorID";
		public const string GRANDTOTAL_FLD = "GrandTotal";
		public const string SUBTOTAL_FLD = "SubTotal";
		public const string TOTALVAT_FLD = "TotalVAT";
		public const string VATPERCENT_FLD = "VATPercent";
		public const string POSTDATE_FLD = "PostDate";
		public const string RECEIPTMASTERID_FLD = "PurchaseOrderReceiptID";
		public const string RETURNTOVENDORMASTERID_FLD = "ReturnToVendorMasterID";
		public const string ACOBJECTID_FLD = "ACObjectID";
		public const string ACPURPOSEID_FLD = "ACPurposeID";
		public const string MAKERID_FLD = "MakerID";
	}

	public sealed class CST_RecoverMaterialDetailTable
	{
		public const string TABLE_NAME = "CST_RecoverMaterialDetail";
		public const string RECOVERMATERIALDETAILID_FLD = "RecoverMaterialDetailID";
		public const string RECOVERMATERIALMASTERID_FLD = "RecoverMaterialMasterID";
		public const string PRODUCTID_FLD = "ProductID";
		public const string RECOVERQUANTITY_FLD = "RecoverQuantity";
		public const string UNITOFMEASUREID_FLD = "UnitOfMeasureID";
		public const string TOBINID_FLD = "ToBinID";
		public const string TOLOCATIONID_FLD = "ToLocationID";
		public const string PARTYID_FLD = "PartyID";
	}

	public sealed class CST_RecoverMaterialMasterTable
	{
		public const string TABLE_NAME = "CST_RecoverMaterialMaster";
		public const string RECOVERMATERIALMASTERID_FLD = "RecoverMaterialMasterID";
		public const string POSTDATE_FLD = "PostDate";
		public const string TRANSNO_FLD = "TransNo";
		public const string CCNID_FLD = "CCNID";
		public const string FROMLOCATIONID_FLD = "FromLocationID";
		public const string FROMBINID_FLD = "FromBinID";
		public const string QUANTITY_FLD = "Quantity";
		public const string PRODUCTID_FLD = "ProductID";
		public const string AVAILABLEQTY_FLD = "AvailableQty";
		public const string USERNAME_FLD = "UserName";
	}

	public sealed class CST_ActualCostHistoryTable
	{
		public const string TABLE_NAME = "CST_ActualCostHistory";
		public const string ACTUALCOSTHISTORY_FLD = "ActualCostHistory";
		public const string ACTUALCOST_FLD = "ActualCost";
		public const string STDCOST_FLD = "StdCost";
		public const string PRODUCTID_FLD = "ProductID";
		public const string COSTELEMENTID_FLD = "CostElementID";
		public const string ACTCOSTALLOCATIONMASTERID_FLD = "ActCostAllocationMasterID";
		public const string QUANTITY_FLD = "Quantity";
		public const string BEGIN_QUANTITY_FLD = "BeginQuantity";
		public const string COMPONENTVALUE_FLD = "ComponentValue";
		public const string COMPONENTDSAMOUNT_FLD = "ComponentDSAmount";
	}

	public sealed class enm_POReceiptTypeTable
	{
		public const string TABLE_NAME = "enm_POReceiptType";
		public const string PORECEIPTTYPEID_FLD = "POReceiptTypeID";
		public const string PORECEIPTTYPECODE_FLD = "POReceiptTypeCode";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class enm_CostMethodTable
	{
		public const string TABLE_NAME = "enm_CostMethod";
		public const string COSTMETHODID_FLD = "CostMethodID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class PRO_PGProductTable
	{
		public const string TABLE_NAME = "PRO_PGProduct";
		public const string PGPRODUCTID_FLD = "PGProductID";
		public const string PRODUCTIONGROUPID_FLD = "ProductionGroupID";
		public const string PRODUCTID_FLD = "ProductID";
	}
	public sealed class PRO_ProductionGroupTable
	{
		public const string TABLE_NAME = "PRO_ProductionGroup";
		public const string PRODUCTIONGROUPID_FLD = "ProductionGroupID";
		public const string DESCRIPTION_FLD = "Description";
		public const string GROUPPRODUCTIONMAX_FLD = "GroupProductionMax";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
		public const string PRIORITY_FLD = "Priority";
	}

	public sealed class cst_ACAdjustmentDetailTable
	{
		public const string TABLE_NAME = "cst_ACAdjustmentDetail";
		public const string ACADJUSTMENTDETAIL_FLD = "ACAdjustmentDetail";
		public const string COST_FLD = "Cost";
		public const string ACADJUSTMENTMASTERID_FLD = "ACAdjustmentMasterID";
		public const string COSTELEMENTID_FLD = "CostElementID";
	}
	public sealed class cst_ACAdjustmentMasterTable
	{
		public const string TABLE_NAME = "cst_ACAdjustmentMaster";
		public const string ACADJUSTMENTMASTERID_FLD = "ACAdjustmentMasterID";
		public const string CODE_FLD = "Code";
		public const string NAME_FLD = "Name";
		public const string CCNID_FLD = "CCNID";
	}

	public sealed class enm_GateTypeTable
	{
		public const string TABLE_NAME = "enm_GateType";
		public const string GATETYPEID_FLD = "GateTypeID";
		public const string GATETYPE_FLD = "GateType";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class SO_GateTable
	{
		public const string TABLE_NAME = "SO_Gate";
		public const string GATEID_FLD = "GateID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
		public const string GATETYPEID_FLD = "GateTypeID";
	}

	public sealed class SO_TypeTable
	{
		public const string TABLE_NAME = "SO_Type";
		public const string TYPEID_FLD = "TypeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class enm_PricingTypeTable
	{
		public const string TABLE_NAME = "enm_PricingType";
		public const string PRICINGTYPEID_FLD = "PricingTypeID";
		public const string CODE_FLD = "Code";
		public const string DESCRIPTION_FLD = "Description";
	}

	public sealed class PRO_PlanningOffsetTable
	{
		public const string TABLE_NAME = "PRO_PlanningOffset";
		public const string PLANNINGOFFSETID_FLD = "PlanningOffsetID";
		public const string OFFSET_FLD = "Offset";
		public const string PLANNINGSTARTDATE_FLD = "PlanningStartDate";
		public const string DCOPTIONMASTERID_FLD = "DCOptionMasterID";
		public const string PRODUCTIONLINEID_FLD = "ProductionLineID";
	}
		
}	// end namespace
